[Bug c++/22243] New: array dimensioned to zero via template parameter yields parse error

2005-06-30 Thread guido at grumpy-cat dot com
templateint sz struct xxx_t { char foo[sz]; char bar[0]; }; int main(int argc, char *argv[]) { xxx_t0 xyz; } gcc -Wall foo.cpp -o foo foo.cpp: In instantiation of ‘xxx_t0’: foo.cpp:9: instantiated from here foo.cpp:3: error: creating array with size zero (‘0’) foo.cpp:

[Bug tree-optimization/14490] [tree-ssa] Simplify a - 10 150 into a 160

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 06:03 --- (In reply to comment #7) And I found another latent bug which makes it impossible to bootstrap GCC :( Oh, I found a simple patch which fixes that, bootstrapping the fix with the fix for this bug. --

[Bug c++/22243] array dimensioned to zero via template parameter yields parse error

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 06:11 --- *** This bug has been marked as a duplicate of 19989 *** -- What|Removed |Added

[Bug c++/19989] Inconsistency with zero-sized arrays

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 06:11 --- *** Bug 22243 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/22244] New: dimension information is lost for multi-dimension array

2005-06-30 Thread woodzltc at sources dot redhat dot com
Please have a look at the following source, variable a is a two-dimension array (5 X 5): program array2 integer a(5, 5) do i = 1, 5 do j = 1, 5 a(i, j) = i * j write (*, *) a(i, j) end do end do end program After using

[Bug fortran/22244] dimension information is lost for multi-dimension array

2005-06-30 Thread woodzltc at sources dot redhat dot com
--- Additional Comments From woodzltc at sources dot redhat dot com 2005-06-30 06:39 --- This is Feng's comment: http://gcc.gnu.org/ml/fortran/2005-06/msg00479.html Just FYI. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22244

[Bug libfortran/22217] Z edit descriptor with negative numbers

2005-06-30 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-06-30 08:29 --- It's probably easiest to have xtoa() and friends extract the integer for themselves. If you do this, don't forget to increase the size of buffer[] so it can hold largest_integer_kind*8+1 characters for

[Bug libfortran/20406] SIZE() matters?

2005-06-30 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-06-30 08:34 --- Do we really want to fix this? It doesn't really work with ifort, and it is a dubious feature, too. I'm in favor of marking this WONTFIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20406

[Bug fortran/22244] dimension information is lost for multi-dimension array

2005-06-30 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-06-30 08:42 --- Confirmed. -- What|Removed |Added Keywords|

[Bug fortran/17905] allocated arrays not visible with gdb

2005-06-30 Thread woodzltc at sources dot redhat dot com
--- Additional Comments From woodzltc at sources dot redhat dot com 2005-06-30 08:48 --- For array, ifc will output the following debuginfo: 27e: Abbrev Number: 4 (DW_TAG_variable) TAG for variable array DW_AT_decl_line : 2 DW_AT_decl_column : 42

[Bug java/21428] [3.4/4.0/4.1 Regression] bogus warning: unused parameter 'this'

2005-06-30 Thread aph at redhat dot com
--- Additional Comments From aph at redhat dot com 2005-06-30 08:58 --- Ah, thanks. It was a causalty of a hard disk crash I had. I'll do it once 4.0 is thawed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21428

[Bug tree-optimization/22237] [4.0/4.1 Regression] struct copy inlining generates overlapping memcpy

2005-06-30 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-06-30 09:27 --- Subject: Re: [4.0/4.1 Regression] struct copy inlining generates overlapping memcpy On Thu, 30 Jun 2005, pinskia at gcc dot gnu dot org wrote: I think this is a latent bug as even 3.4 produces calls to

[Bug c/22246] New: ICE compiling glibc 2.2.5 in reload_cse_simplify_operands, at postreload.c:391

2005-06-30 Thread sieb at sscd dot de
Building a cross toolchain gcc4.0.0-glibc2.2.5 with crosstool 0.35 produces the following ICE. sh4-linux-gcc dcigettext.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fno-unit-at-a-time -m4 -ml -I../include -I.

[Bug testsuite/21967] [4.1 Regression] gcc.dg/tree-ssa/loop-2.c and gcc.dg/tree-ssa/loop-4.c fail

2005-06-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-30 11:07 --- Subject: Bug 21967 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-30 11:06:56 Modified files: gcc: tree-ssa-live.c ChangeLog Log

[Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop

2005-06-30 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-06-30 11:13 --- I don't think it is useful to fix this. The proper way of handling this kind of loops is to just remove them, not to unroll them completely. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-06-30 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-30 11:17 --- Not fixed by the patch for PR22234 :-( -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8

[Bug tree-optimization/22029] [4.1 Regression] ICE with -fdump-tree-copyprop3-details

2005-06-30 Thread irar at il dot ibm dot com
--- Additional Comments From irar at il dot ibm dot com 2005-06-30 11:38 --- Submitted a patch that fixes this: http://gcc.gnu.org/ml/gcc-patches/2005- 06/msg02228.html -- What|Removed |Added

[Bug middle-end/22247] New: tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread fxcoudert at gcc dot gnu dot org
On i686-pc-mingw32, a simple compilation that worked before (--enable-languages=c,f95) gives the following error (with Danny Smith's patch from http://gcc.gnu.org/ml/gcc-patches/2005-05/msg9.html, because mingw32 adn cygwin bootstraps are broken): gcc -I/home/FX/local/include

[Bug target/22246] ICE compiling glibc 2.2.5 in reload_cse_simplify_operands, at postreload.c:391

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 12:11 --- *** This bug has been marked as a duplicate of 21623 *** -- What|Removed |Added

[Bug target/21623] [4.0 regression] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 12:11 --- *** Bug 22246 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug testsuite/21967] [4.1 Regression] gcc.dg/tree-ssa/loop-2.c and gcc.dg/tree-ssa/loop-4.c fail

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 12:18 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/22244] dimension information is lost for multi-dimension array

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 12:20 --- Confirmed, Paul B. said he was going to do this (IIRC). -- What|Removed |Added

[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-06-30 12:30 --- The is_gimple_variable segfault seems as a duplicate of PR 21963 to me; could someone please check whether the patch for that PR fixes the problem (I cannot access x86_64 machine just now)? --

[Bug c++/22248] New: Incorrect work with multiple assigment.

2005-06-30 Thread algorithmus at gmail dot com
hi! I have a problem with multiply assigment at i386-portbld-freebsd5.4 gcc version 4.0.1 20050609 (prerelease) [FreeBSD] and the same problem in DJGPP with gcc 4.0.0 I've compiled my cpp file with this command line: g++40 new.cpp ---new.cpp #includecstdio #define swap(a,b) a^=b^=a^=b

[Bug middle-end/22247] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||dberlin at gcc dot gnu dot ||org GCC host

[Bug middle-end/22247] [4.1 Regression] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|tree-ssa-structalias.c: |[4.1 Regression] tree-ssa- |`uint' undeclared |structalias.c: `uint'

[Bug tree-optimization/21564] [4.1 Regression] Fatal miscompile with -O1 -finline-functions

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:11 --- Fixed. -- What|Removed |Added Status|UNCONFIRMED |RESOLVED

Re: [Bug c++/22248] New: Incorrect work with multiple assigment.

2005-06-30 Thread Gabriel Dos Reis
algorithmus at gmail dot com [EMAIL PROTECTED] writes: | ---new.cpp | #includecstdio | | #define swap(a,b) a^=b^=a^=b You're modifying objects more than once without intervening sequence points. All bets are off. There is a standard utility std::swap() from utility that works all the time.

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-30 13:19 --- Subject: Re: New: Incorrect work with multiple assigment. algorithmus at gmail dot com [EMAIL PROTECTED] writes: | ---new.cpp | #includecstdio | | #define swap(a,b) a^=b^=a^=b You're modifying

[Bug c/22249] New: GCC does not reject an incompatible type declaration

2005-06-30 Thread neil at gcc dot gnu dot org
I don't believe the standard requires the following to be rejected, but as a QOI issue I believe it should be. The debatable point is whether you believe the composite of the first two is specified by a function definition; if you do then you must reject. GCC rejects it if the order of the first

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:26 --- There is no sequence points between the assignments of a[i] so the loading of a[i] can be evaluated in any order. You want to define swap as: #define swap(a,b) do{ a^=b;b^=a;a^=b;}while(0) This is a

[Bug c/11751] wrong evaluation order of an expression

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:26 --- *** Bug 22248 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug fortran/22244] dimension information is lost for multi-dimension array

2005-06-30 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-06-30 13:29 --- g77 gets this right: $ g77 -g array2.f $ gdb ./a.out GNU gdb Red Hat Linux (6.3.0.0-0.30.1rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License,

[Bug c/5675] const variables wrongly considered part of constant expressions (gcc.dg/c9[09]-const-expr-3.c)

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:31 --- Adding gcc.dg/c9[09]-const-expr-3.c to the summary so I don't get confused between this bug and PR 456. -- What|Removed |Added

[Bug c/456] constant expressions constraints (gcc.dg/c90-const-expr-1)

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:32 --- Adding gcc.dg/c90-const-expr-1 to the summary so I don't confussed between this bug and PR 5675. -- What|Removed |Added

[Bug c/22249] GCC does not reject an incompatible type declaration

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:32 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/22250] New: [sh4] ICE compiling qt-4.0.0-embedded snapshot

2005-06-30 Thread sieb at sscd dot de
This seems to be -O2 related as compiling in debug mode doesn't produce this ICE. Compiler output from -v -save-temps: sh4-linux-g++ -v -save-temps -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_OPENSOURCE -DQT_NO_CAST_TO_ASCII -DQT_MOC_COMPAT

[Bug target/22250] [sh4] ICE compiling qt-4.0.0-embedded snapshot

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:34 --- Make sure that you attach the preprocessed source. -- What|Removed |Added

[Bug target/22250] [sh4] ICE compiling qt-4.0.0-embedded snapshot

2005-06-30 Thread sieb at sscd dot de
--- Additional Comments From sieb at sscd dot de 2005-06-30 13:35 --- Created an attachment (id=9178) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9178action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22250

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread algorithmus at gmail dot com
--- Additional Comments From algorithmus at gmail dot com 2005-06-30 13:35 --- no. I guess there is a problem. just try this progam: #includecstdio #define swap(a,b) (a^=(b^=(a^=b))) const int N = 2; int a[N]; int main() { for(int i=0;iN;i++) a[i] = i;

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:37 --- Parentheses are not seqeunce points. The comma operator is though. *** This bug has been marked as a duplicate of 11751 *** -- What|Removed |Added

[Bug c/11751] wrong evaluation order of an expression

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 13:37 --- *** Bug 22248 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11751

[Bug middle-end/22247] [4.1 Regression] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-06-30 13:58 --- tree-ssa-structalias has had that uint since inception. Kazu added it as part of VEC'ification prior to submission. I believe you should be able to do s/uint/unsigned/. If this works, please submit a

[Bug c/22245] segmentation fault when compiling ipw2100 drivers on linux 2.6

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 14:23 --- The code is invalid, see PR 21975 which this is a dup of. *** This bug has been marked as a duplicate of 21975 *** -- What|Removed |Added

[Bug c/21975] [4.0 Regression] Segmentation fault while compiling ipw2100

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 14:23 --- *** Bug 22245 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug ada/22251] Bug box in Ada compiler: Assert_Failure sinfo.adb:2479, Error detected at test.adb:12:16

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 14:31 --- Confirmed, related to PR 15663. -- What|Removed |Added BugsThisDependsOn|

[Bug c++/22252] New: pragma interface/implementation still break synthesized methods

2005-06-30 Thread matz at suse dot de
This is similar to bug 21280, but it is _not_ fixed by the patches therein. In fact it still happens with current 4.0 branch as of 2005-06-30. Compile these files: % cat a.h #include vector #pragma interface struct A { std::vectorchar vc; }; % cat use.cc #include a.h A a; int

[Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||diagnostic Summary|pragma |[4.0/4.1 Regression] pragma

[Bug c/22098] [4.0/4.1 Regression] ICE in compound literal gimplification

2005-06-30 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-06-30 15:00 --- Testing a patch for bugs 22013 and 22098. -- What|Removed |Added

[Bug c/22013] [4.0/4.1 Regression] ICE in gimple_add_tmp_var, at gimplify.c:535

2005-06-30 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-06-30 15:00 --- Testing a patch for bugs 22013 and 22098. -- What|Removed |Added

[Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods

2005-06-30 Thread matz at suse dot de
--- Additional Comments From matz at suse dot de 2005-06-30 15:01 --- Andrew: that's not a diagnostic issue. While the diagnostic (the warning) indeed is wrong and misleading (and probably points to the underlying cause of this issue), the actual error I'm complaining about is the

[Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 15:10 --- (In reply to comment #1) Yes which is why I did not confirm it yet because I did not look at fully. I just added the diagnostic keyword because it is still a wrong warning. I am adding wrong-code also.

[Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread andreast at gcc dot gnu dot org
-fnon-call-exceptions -fdollars-in-identifiers -fno-common -o natWindow.s GNU C++ version 4.1.0 20050630 (experimental) (powerpc-apple-darwin8.1.0) compiled by GNU C version 4.1.0 20050630 (experimental). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler

[Bug middle-end/22253] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|libgcj |middle-end Keywords||ice-on-valid-code

[Bug middle-end/22253] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread andreast at gcc dot gnu dot org
--- Additional Comments From andreast at gcc dot gnu dot org 2005-06-30 15:19 --- Created an attachment (id=9179) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9179action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 15:21 --- With checking enabled I get: /Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc: In member function 'virtual void gnu::gcj::xlib::Window::setWMProtocols(JArrayjint*)':

[Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods

2005-06-30 Thread matz at suse dot de
--- Additional Comments From matz at suse dot de 2005-06-30 15:23 --- Ah, I see. Note that you must compile the reduced testcase (thanks for that) with -O0, or with -fno-inline, otherwise the A::A ctor will be inlined in use.cc (making the warning about the non-availability of it even

[Bug tree-optimization/22254] New: We never call may_alias_p for PARM_DECL's

2005-06-30 Thread dberlin at gcc dot gnu dot org
Given a simple testcase /* Two int arrays testcase for ipaa. */ #define N 11 void f (); void g (int* g1, int* g2); main () { f(); return; } void f () { int a[N]; int b[N]; g(a,b); return; } void g (int* g1, int* g2) { int i; for (i=0; i N; i++) g1[i] = g2[i]; }

[Bug tree-optimization/22254] We never call may_alias_p for PARM_DECL's

2005-06-30 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-06-30 15:33 --- By These formals i mean g1 and g2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22254

[Bug tree-optimization/22254] We never call may_alias_p for PARM_DECL's

2005-06-30 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-06-30 15:39 --- By These formals i mean g1 and g2 Thanks for the clarification: I clearly remember someone at GCCSummit puzzled by the spelling checker marking formal as error ;) --

[Bug ada/22255] New: Reset on shared file causes Use_Error.

2005-06-30 Thread brianstensrude at hotmail dot com
GCC Version: 3.4.2 OS: Solaris 8 GCC build: ../gcc-3.4.2/configure --enable-languages=c,c++,ada --disable- shared --srcdir=/tools/gcc-3.4.2/gcc-3.4.2 The following code will cause a use_error to be raised = with Direct_IO, Text_IO; procedure testit is type Item is record

[Bug ada/22255] Reset on shared file causes Use_Error.

2005-06-30 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-06-30 15:49 --- Nothing critical about this bug, so changing severity/priority. Arno -- What|Removed |Added

[Bug ada/22220] Unable to build gnattools native i586

2005-06-30 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-06-30 15:51 --- There is no bug showned here. It looks like a setup/procedural problem. I'd suggest asking for advice on e.g. gcc-help list. Arno -- What|Removed |Added

[Bug ada/22255] Reset on shared file causes Use_Error.

2005-06-30 Thread brianstensrude at hotmail dot com
--- Additional Comments From brianstensrude at hotmail dot com 2005-06-30 15:58 --- (In reply to comment #1) Nothing critical about this bug, so changing severity/priority. Arno (In reply to comment #1) We have ported over 1200 files from Verdix to the GCC compiler and have a few

[Bug ada/22255] Reset on shared file causes Use_Error.

2005-06-30 Thread charlet at gcc dot gnu dot org
--- Additional Comments From charlet at gcc dot gnu dot org 2005-06-30 16:02 --- This is a place where you can report bugs to volunteers, so it is inapropriate to make this kind of request nor expect guarantees as to when bugs should be fixed. If you need guarantees on fixes, I'd

[Bug c++/22256] New: diagnostic shows wrong type

2005-06-30 Thread igodard at pacbell dot net
struct node { int* operator int*(); }; gets you: foo.cc:1: error: operator `int*' declared to return `int' BTW, a better diagnostic would be something like: error: operator `int*' should not declare a return type -- Summary: diagnostic shows wrong type Product: gcc

[Bug tree-optimization/22254] We never call may_alias_p for PARM_DECL's

2005-06-30 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-30 16:41 --- Ack. -- What|Removed |Added Status|UNCONFIRMED |NEW Ever

[Bug tree-optimization/22254] We never call may_alias_p for PARM_DECL's

2005-06-30 Thread dberlin at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot |dot org |org Status|NEW

[Bug c++/22256] diagnostic shows wrong type

2005-06-30 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-30 17:14 --- Confirmed. Also happens with 3.3.x. W. -- What|Removed |Added

[Bug c++/22256] diagnostic shows wrong type

2005-06-30 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-30 17:15 --- FWIW, here's the icc output: tmp/g icc -Xc -ansi -c x.cc x.cc(1): error: return type may not be specified on a conversion function struct node { int* operator int*(); }; ^

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 17:22 --- Confirmed, reduced testcase: struct allocator { ~allocator() {} }; struct _Vector_base { struct _Vector_impl { int* _M_start; int* _M_finish; _Vector_impl() : _M_start(0), _M_finish(0)

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 17:24 --- I should note that if we fix PR 21636, this becomes a latent bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253

[Bug c++/22257] New: ICE on invalid code, forgot parentheses for constructor

2005-06-30 Thread pinskia at gcc dot gnu dot org
I found this while reducing PR 22253. The following invalid code ICEs: struct _Vector_impl { _Vector_impl : _M_start(0), _M_finish(0){} }; -- Summary: ICE on invalid code, forgot parentheses for constructor Product: gcc Version: 4.0.1 Status:

[Bug c++/22257] ICE on invalid code, forgot parentheses for constructor

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 17:31 --- Oh, not a regression either. -- What|Removed |Added Known to fail|

[Bug target/21723] [4.0/4.1 Regression] ICE while building libgfortran

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 17:34 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg02238.html. -- What|Removed |Added

[Bug middle-end/22242] Removing unused static function variables

2005-06-30 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-06-30 17:40 --- Looks like a bug. Honza? -- What|Removed |Added CC|

[Bug c++/22256] diagnostic shows wrong type for cast operator

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |enhancement Keywords||diagnostic Known to fail|

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-06-30 17:58 --- Also you could simply use std::swap as Gaby suggested. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22248

[Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc

2005-06-30 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-06-30 18:08 --- I wonder why it's not caught by a tree verifier then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253

[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-06-30 18:09 --- It does. -- What|Removed |Added BugsThisDependsOn||21963

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread algorithmus at gmail dot com
--- Additional Comments From algorithmus at gmail dot com 2005-06-30 18:21 --- thanks for your suggestions. I usually use STL. But I held training contest for Ukrainian team before International Olympiad in Informatics and one guy's used this swap macros that doesn't work at my

[Bug middle-end/22247] [4.1 Regression] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 18:21 --- Confirmed, changing uint to unsigned was able to bootstrap on powerpc-darwin just fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22247

[Bug middle-end/22247] [4.1 Regression] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 18:22 --- Confirmed, changing uint to unsigned was able to bootstrap on powerpc-darwin just fine. -- What|Removed |Added

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-06-30 18:27 --- It's there: -Wsequence-point, which is also enabled by -Wall. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22248

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 18:31 --- (In reply to comment #7) It's there: -Wsequence-point, which is also enabled by -Wall. But it will not warn about this testcase as we have array[index] but that is filed as PR 16202. --

[Bug rtl-optimization/22258] New: combine causes spill failure on return value register

2005-06-30 Thread amylaar at gcc dot gnu dot org
An sh-elf build fails with: /mnt/scratch/nightly/2005-06-28/sh-elf/./gcc/xgcc -B/mnt/scratch/nightly/2005-06-28/sh-elf/./gcc/ -nostdinc -B/mnt/scratch/nightly/2005-06-28/sh-elf/sh-elf/newlib/ -isystem /mnt/scratch/nightly/2005-06-28/sh-elf/sh-elf/newlib/targ-include -isystem

[Bug tree-optimization/14490] [tree-ssa] Simplify a - 10 150 into a 160

2005-06-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 19:13 --- Patch posted here: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg02249.html. This might improve code gen in SPEC but since I have not tried, I don't know but I know that Richard Earnshaw was asking

[Bug rtl-optimization/22258] combine causes spill failure on return value register

2005-06-30 Thread amylaar at gcc dot gnu dot org
-- What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2005- |

[Bug bootstrap/22259] New: spawnv cannot execute gcc/as

2005-06-30 Thread fxcoudert at gcc dot gnu dot org
Building gcc on i686-pc-mingw32 fails with: /home/FX/ibin/./gcc/xgcc -B/home/FX/ibin/./gcc/ -B/mingw/i686-pc-mingw32/bin/ -B/mingw/i686-pc-mingw32/lib/ -isystem /mingw/i686-pc-mingw32/include -isystem /mingw/i686-pc-mingw32/sys-include -O2 -I../../gcc/gcc/../winsup/w32api/include -DIN_GCC-W

[Bug bootstrap/22259] spawnv cannot execute gcc/as

2005-06-30 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-30 20:16 --- Looks related to bonzini's 2005-06-16 patch (http://gcc.gnu.org/ml/gcc-cvs/2005-06/msg00667.html). Adding him to Cc list. -- What|Removed |Added

[Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|spawnv cannot execute gcc/as|[4.1 Regression] spawnv ||cannot execute gcc/as Target

[Bug middle-end/22247] [4.1 Regression] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-30 20:43 --- Subject: Bug 22247 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-30 20:43:46 Modified files: gcc: ChangeLog tree-ssa-structalias.c

[Bug c++/22260] New: -fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks

2005-06-30 Thread scp at predict dot com
When compiling PIC code for the this-adjusting thunk for a method of a class with two or more base classes, the sparc_output_mi_thunk() function fails to preserve the pic register itself (%l7) when using load_pic_register() to find the address of the thunk's target. If the thunk is invoked from a

[Bug target/22260] -fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks

2005-06-30 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |target Keywords||wrong-code

[Bug target/22260] -fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks

2005-06-30 Thread ebotcazou at gcc dot gnu dot org
-- What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org

[Bug middle-end/22247] [4.1 Regression] tree-ssa-structalias.c: `uint' undeclared

2005-06-30 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-30 20:53 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug c++/22256] diagnostic shows wrong type for cast operator

2005-06-30 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-30 20:56 --- Subject: Re: diagnostic shows wrong type bangerth at dealii dot org [EMAIL PROTECTED] writes: | Confirmed. Also happens with 3.3.x. I think this happens because when the C++ front-end finds that a

[Bug c++/22248] Incorrect work with multiple assigment.

2005-06-30 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-06-30 20:57 --- Subject: Re: Incorrect work with multiple assigment. algorithmus at gmail dot com [EMAIL PROTECTED] writes: | I guess, it'll be useful if the developers add some warning message | for

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-06-30 Thread scp at predict dot com
--- Additional Comments From scp at predict dot com 2005-06-30 21:00 --- This fix has not made it to the gcc_4_0 branch, and the problem still exists in gcc4.0.0. It is trivially recreated using the same test code: gcc -v -o cv cv.cpp -lstdc++ Reading specs from

[Bug tree-optimization/22212] [4.1 Regression] SEGV in is_gimple_variable during loop-ivopts while building Ada RTS

2005-06-30 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-06-30 21:04 --- For the record, after twenty hours of compilation on an Athlon 64 3000+ (x86_64-linux), a build with --enable-checking=all,gcac,fold,rtl detects something wrong in fold. I'm attaching the .i. LAST_UPDATED Wed

  1   2   >