[Bug c++/27359] ICE with missing initialization of iteration variable in parallel for loop

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2006-05-04 06:29 --- Subject: Bug 27359 Author: jakub Date: Thu May 4 06:29:16 2006 New Revision: 113513 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113513 Log: PR c++/27359 * parser.c (cp_parser_omp_for_loop):

[Bug middle-end/27388] omp_is_private issues

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2006-05-04 06:34 --- Subject: Bug 27388 Author: jakub Date: Thu May 4 06:34:06 2006 New Revision: 113514 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113514 Log: PR middle-end/27388 * gimplify.c (omp_is_private):

[Bug tree-optimization/27285] [4.1 regression] ivopts postgresql miscompilation

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2006-05-04 06:40 --- Subject: Bug 27285 Author: jakub Date: Thu May 4 06:40:15 2006 New Revision: 113515 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113515 Log: PR tree-optimization/27285 Backport from

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2006-05-04 06:40 --- Subject: Bug 25985 Author: jakub Date: Thu May 4 06:40:15 2006 New Revision: 113515 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113515 Log: PR tree-optimization/27285 Backport from

[Bug tree-optimization/27285] [4.1 regression] ivopts postgresql miscompilation

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2006-05-04 06:44 --- Subject: Bug 27285 Author: jakub Date: Thu May 4 06:43:50 2006 New Revision: 113516 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113516 Log: PR tree-optimization/27285 *

[Bug c/27414] New: IA64 bootstrap comparison failure, stage 2 - 3

2006-05-04 Thread ianw at gelato dot unsw dot edu dot au
Hi, I just pulled from SVN and tried to build for IA64, and it fails with Comparing stages 2 and 3 warning: ./cc1-checksum.o differs Bootstrap comparison failure! ./varasm.o differs ./gcc.o differs --- /tmp/gcc-stage2.dump2006-05-04 16:39:19.0 +1000 +++ /tmp/gcc-stage3.dump

[Bug middle-end/27414] IA64 bootstrap comparison failure, stage 2 - 3

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-04 06:52 --- As I see it, some part of ia64.c (or the stack displacement code) is being miscompiling giving the different answers in the stack misplacement. -- pinskia at gcc dot gnu dot org changed: What

[Bug fortran/20248] gfortran: intrinsics and std=f95, inconsistency with other compilers

2006-05-04 Thread anlauf at gmx dot de
--- Comment #10 from anlauf at gmx dot de 2006-05-04 07:22 --- (In reply to comment #9) Fixed by the additional of -fall-intrinsics option. Steve, the -fall-intrinsics option does not work when in addition -Wall is specified. The original code the leads to: In file iargc.f90:4

[Bug tree-optimization/26447] [4.2 Regression] verify_flow_info failed, load PRE with java program

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #21 from rguenth at gcc dot gnu dot org 2006-05-04 07:45 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/26447] [4.2 Regression] verify_flow_info failed, load PRE with java program

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #22 from rguenth at gcc dot gnu dot org 2006-05-04 07:45 --- Subject: Bug 26447 Author: rguenth Date: Thu May 4 07:44:37 2006 New Revision: 113517 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113517 Log: 2006-05-04 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/27388] omp_is_private issues

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2006-05-04 09:34 --- Fixed in SVN. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27359] ICE with missing initialization of iteration variable in parallel for loop

2006-05-04 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2006-05-04 09:35 --- Fixed in SVN. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772

2006-05-04 Thread P dot Schaffnit at access dot rwth-aachen dot de
--- Comment #8 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-04 09:38 --- Hi! My (not reduced) code compiles again! Sorry for the delay, but compiling the whole does take some time... Thanks a lot! Philippe -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392

[Bug libstdc++/27404] Rope iterators are not InputIterators

2006-05-04 Thread paolo at gcc dot gnu dot org
--- Comment #2 from paolo at gcc dot gnu dot org 2006-05-04 09:38 --- Subject: Bug 27404 Author: paolo Date: Thu May 4 09:37:56 2006 New Revision: 113519 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113519 Log: 2006-05-04 Douglas Gregor [EMAIL PROTECTED] PR

[Bug middle-end/27415] New: Iteration var in firstprivate or reduction clauses not reported

2006-05-04 Thread jakub at gcc dot gnu dot org
void foo (void) { int i = 0; #pragma omp parallel #pragma omp for firstprivate (i)/* { dg-error predetermined iteration var i must not be firstprivate } */ for (i = 0; i 10; i++) ; } void bar (void) { int i = 0; #pragma omp parallel for firstprivate (i) /* { dg-error

[Bug libstdc++/27404] Rope iterators are not InputIterators

2006-05-04 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-05-04 09:40 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|NEW

[Bug fortran/27411] crashes in sra_walk_expr and emit_move_insn

2006-05-04 Thread paul dot thomas at jet dot uk
--- Comment #2 from paul dot thomas at jet dot uk 2006-05-04 09:50 --- (In reply to comment #1) Confirmed, this is a front-end issue. we have: struct calc_signal_type D.904; D.904 = (*(struct calc_signal_type[0:] *) outputs-data)[outputs-dim[0].stride *

[Bug middle-end/27416] New: ICE on invalid firstprivate/lastprivate

2006-05-04 Thread jakub at gcc dot gnu dot org
void foo (void) { int i = 0, j = 0; #pragma omp for firstprivate (j)/* { dg-error j is private in outer context } */ for (i = 0; i 10; i++) j++; } int bar (void) { int i, j; #pragma omp for lastprivate (j) /* { dg-error j is private in outer context } */ for (i = 0; i

[Bug target/26481] ICE with -mcpu=power and struct passing

2006-05-04 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-05-04 10:22 --- David, do you plan on proceeding with your suggestion of disabling the power multilib for 4.1.1? The compiler still cannot be bootstrapped on AIX 5.1. -- ebotcazou at gcc dot gnu dot org changed:

[Bug other/27417] New: wrong code or aliasing violation with missed diagnostic?

2006-05-04 Thread pluto at agmk dot net
inline float quickBinaryToFloat( unsigned const in ) { return reinterpret_cast float const ( in ) ; } float foo( unsigned x ) { unsigned y = ( x * 2 ) + 1; return quickBinaryToFloat( y ); } [ wrong-code generated ] $ i486-gnu-linux-g++ bin2float.cpp -Wall -O2 -c

[Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772

2006-05-04 Thread rakdver at gcc dot gnu dot org
--- Comment #9 from rakdver at gcc dot gnu dot org 2006-05-04 10:49 --- Fixed. -- rakdver at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug other/27417] wrong code or aliasing violation with missed diagnostic?

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-04 11:58 --- This missed diagnostic is known, as enabling a warning here would cause too much false positives. But yes, you are violating strict-aliasing rules here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27417

[Bug other/27417] wrong code or aliasing violation with missed diagnostic?

2006-05-04 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2006-05-04 12:08 --- (In reply to comment #1) This missed diagnostic is known, as enabling a warning here would cause too much false positives. but what about -Wstrict-aliasing=2? it doesn't report anything, so how can i check possible

[Bug driver/27419] New: '-static' for 'gcc libraries' only?

2006-05-04 Thread P dot Schaffnit at access dot rwth-aachen dot de
-in specs. Target: x86_64-unknown-linux-gnu Configured with: /USER/philippe/Irix/Gcc_Sources/configure --prefix=/WORK/philippe/Tools/Gcc --enable-languages=c,fortran --with-mpfr=/WORK/philippe/Tools/Mpfr --with-gmp=/WORK/philippe/Tools/Gmp Thread model: posix gcc version 4.2.0 20060504 (experimental) PPS

[Bug middle-end/25962] Pointer (null) check after the use in cgraph.c

2006-05-04 Thread hubicka at gcc dot gnu dot org
--- Comment #5 from hubicka at gcc dot gnu dot org 2006-05-04 12:43 --- Subject: Bug 25962 Author: hubicka Date: Thu May 4 12:42:55 2006 New Revision: 113522 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113522 Log: PR middle-end/25962 * cgraphunit.c

[Bug driver/27419] '-static' for 'gcc libraries' only?

2006-05-04 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-05-04 13:15 --- (In reply to comment #0) Hi! I would be interested in having the gcc libraries statically linked to my binary, but still use one shared-object (a commercial library for which no static version is available), so

[Bug driver/7516] Ambiguous driver behaviour with -shared -static cmd line options combination

2006-05-04 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-05-04 13:21 --- (In reply to comment #0) $ ldd ./libfoo.so /lib/libNoVersion.so.1 = /lib/libNoVersion.so.1 (0x40003000) libc.so.6 = /lib/i686/libc.so.6 (0x40015000) /lib/ld-linux.so.2 =

[Bug driver/27419] '-static' for 'gcc libraries' only?

2006-05-04 Thread P dot Schaffnit at access dot rwth-aachen dot de
--- Comment #2 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-04 13:27 --- Hi! Thanks a lot! That's exactly what I was looking for: I don't seem to be able to do the same with libgfortran, though... have I missed something, or should request that? Thanks! Philippe

[Bug target/26481] ICE with -mcpu=power and struct passing

2006-05-04 Thread dje at gcc dot gnu dot org
--- Comment #12 from dje at gcc dot gnu dot org 2006-05-04 13:52 --- Subject: Bug 26481 Author: dje Date: Thu May 4 13:52:45 2006 New Revision: 113525 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113525 Log: PR target/26481 * config/rs6000/rs6000.md

[Bug libgcj/26858] NullPointerException not generated for large classes...

2006-05-04 Thread aph at gcc dot gnu dot org
--- Comment #11 from aph at gcc dot gnu dot org 2006-05-04 13:54 --- Subject: Bug 26858 Author: aph Date: Thu May 4 13:54:15 2006 New Revision: 113526 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113526 Log: 2006-05-04 Andrew Haley [EMAIL PROTECTED] PR java/26858

[Bug target/26481] ICE with -mcpu=power and struct passing

2006-05-04 Thread dje at gcc dot gnu dot org
--- Comment #13 from dje at gcc dot gnu dot org 2006-05-04 13:55 --- I was waiting for feedback from the original reporter, which never was supplied. I have committed the patch on mainline to the 4.1 branch. I do not have access to an AIX 5.1 system and without more details, it is

[Bug tree-optimization/27090] FRE does not look past previous type casts

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-05-04 13:57 --- Subject: Bug 27090 Author: rguenth Date: Thu May 4 13:56:52 2006 New Revision: 113527 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113527 Log: 2006-05-04 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/19792] Missed optimizations due to signedness in the way

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-05-04 13:57 --- Subject: Bug 19792 Author: rguenth Date: Thu May 4 13:56:52 2006 New Revision: 113527 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113527 Log: 2006-05-04 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/21608] Repeated casts between bool and int are not optimized

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-04 13:57 --- Subject: Bug 21608 Author: rguenth Date: Thu May 4 13:56:52 2006 New Revision: 113527 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113527 Log: 2006-05-04 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/14844] [tree-ssa] narrow types if wide result is not needed for unsigned types or when wrapping is true

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2006-05-04 13:57 --- Subject: Bug 14844 Author: rguenth Date: Thu May 4 13:56:52 2006 New Revision: 113527 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113527 Log: 2006-05-04 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/14287] [tree-ssa] does not remove unnecessary extensions

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2006-05-04 13:57 --- Subject: Bug 14287 Author: rguenth Date: Thu May 4 13:56:52 2006 New Revision: 113527 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113527 Log: 2006-05-04 Richard Guenther [EMAIL PROTECTED] PR

[Bug other/27417] wrong code or aliasing violation with missed diagnostic?

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-04 14:00 --- You cannot. Though you can try extending c-common.c:strict_aliasing_warning and cp/typeck.c:build_reinterpret_cast_1 to warn in this case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27417

[Bug tree-optimization/27039] [4.1/4.2 Regression] Unable to determine # of iterations for a simple loop

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-05-04 14:21 --- Wording of 6.5.6/8 and /9 suggests that array objects larger than the maximum value that fits in ptrdiff_t (which needs to be signed) invoke undefined behavior, not last because of the expression ((Q)+1)-(P) has the

[Bug c++/27371] [4.1/4.2 Regression] Does not warn about unused function result (__attribute__((warn_unused_result)))

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-04 14:47 --- Confirmed. The problem is that the C++ frontend emits unused_tmp = toLocal8Bit(); for the call. At least it has DECL_IGNORED set, so maybe I have a patch for this. -- rguenth at gcc dot gnu dot org changed:

[Bug tree-optimization/27039] [4.1/4.2 Regression] Unable to determine # of iterations for a simple loop

2006-05-04 Thread rakdver at atrey dot karlin dot mff dot cuni dot cz
--- Comment #9 from rakdver at atrey dot karlin dot mff dot cuni dot cz 2006-05-04 14:56 --- Subject: Re: [4.1/4.2 Regression] Unable to determine # of iterations for a simple loop Wording of 6.5.6/8 and /9 suggests that array objects larger than the maximum value that fits in

[Bug c/27420] New: ICE on invalid function definition

2006-05-04 Thread reichelt at gcc dot gnu dot org
The C frontend ICEs (since at least GCC 2.95.3) on the following invalid code snippet: == void foo(); void foo(struct A a) {} == bug1.c:2: warning: 'struct A' declared inside parameter list bug1.c:2: warning: its scope is only this

[Bug tree-optimization/27090] FRE does not look past previous type casts

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2006-05-04 15:01 --- Testcase in comment #4 is fixed, for the original testcase the folding missed-optimization still holds. But that's for another bug. Fixed. -- rguenth at gcc dot gnu dot org changed: What

[Bug tree-optimization/19792] Missed optimizations due to signedness in the way

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-05-04 15:04 --- bar is now fixed. ;; Function foo (foo) Analyzing Edge Insertions. foo (t) { bb 2: return size_lookup[(int) t] == size_lookup[t]; } ;; Function bar (bar) Analyzing Edge Insertions. bar (t) { bb 2: return

[Bug c/27421] New: [4.0/4.1/4.2 regression] ICE with invalid array in struct

2006-05-04 Thread reichelt at gcc dot gnu dot org
The C frontend ICEs on the following invalid code snippet: == struct A { int i; void x[1]; }; void foo(struct A a) {} == bug.c:4: error: declaration of 'x' as array of voids bug.c: In function 'foo': bug.c:7: internal compiler

[Bug tree-optimization/21608] Repeated casts between bool and int are not optimized

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-04 15:07 --- Fixed. ;; Function bar (bar) Analyzing Edge Insertions. bar (f) { bb 2: return (int) f; } -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27422] New: [4.0/4.1/4.2 regression] ICE with invalid function argument

2006-05-04 Thread reichelt at gcc dot gnu dot org
The C++ frontend ICEs on the following invalid code snippet since GCC 3.0: == void foo(void i); void bar() { foo(0); } == bug.cc:1: error: 'i' has incomplete type bug.cc:1: error: invalid use of 'void' bug.cc: In function 'void bar()':

[Bug tree-optimization/14287] [tree-ssa] does not remove unnecessary extensions

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2006-05-04 15:13 --- Fixed. after 034.t.fre: ;; Function foo (foo) foo (a) { long int c; short int b; short int D.1528; short int D.1527; bb 2: D.1527_2 = (short int) a_1; b_3 = D.1527_2 3; c_4 = (long int) b_3;

[Bug c++/27423] New: Default argument for void parameter accepted

2006-05-04 Thread reichelt at gcc dot gnu dot org
The C++ frontend accepts the following invalid code snippet since at least GCC 2.95.3: == void foo(void = 0); void bar() { foo(); } == -- Summary: Default argument for void parameter accepted Product: gcc

[Bug c++/27397] [4.2 regression] ICE on invalid template argument

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-04 15:21 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/27419] '-static' for 'gcc libraries' only?

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-04 15:22 --- Configure GCC with --disable-shared instead. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/27419] '-static' for 'gcc libraries' only?

2006-05-04 Thread P dot Schaffnit at access dot rwth-aachen dot de
--- Comment #4 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-04 15:25 --- I hadn't thought about that... Thanks a lot for your help! Philippe -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27419

[Bug libgcj/26861] VirtualMachineError in interperter.

2006-05-04 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-05-04 15:25 --- I'm handling this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27370] [4.0 Regression] Bogus warning about ignoring function return value (__attribute__ ((warn_unused_result)))

2006-05-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-05-04 15:25 --- The problem with 4.0 is that the CALL_EXPR uses the return slot address to return, but we don't honour that. Index: c-common.c === *** c-common.c

[Bug c++/27424] New: [4.0/4.1/4.2 regression] Valid template-template-parameter rejected

2006-05-04 Thread reichelt at gcc dot gnu dot org
The C++ frontend rejects the following IMHO valid code snippet since GCC 3.4.0: == templatetypename T struct A { templatetemplateT class struct B {}; templateT struct C; BC b; }; Aint a;

[Bug c++/27424] [4.0/4.1/4.2 regression] Valid template-template-parameter rejected

2006-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27424

[Bug c/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct

2006-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27421

[Bug c++/27422] [4.0/4.1/4.2 regression] ICE with invalid function argument

2006-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27422

[Bug c++/27425] New: [4.0/4.1/4.2 regression] ICE with invalid template-template-parameter

2006-05-04 Thread reichelt at gcc dot gnu dot org
The C++ frontend ICEs on the following invalid code snippet since GCC 3.4.0: == templateint struct A { templatetemplatevoid class struct B {}; templatevoid struct C; BC b; }; A0 a; ==

[Bug c++/27425] [4.0/4.1/4.2 regression] ICE with invalid template-template-parameter

2006-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27425

[Bug c++/27426] New: optimization results in wrong argument passing

2006-05-04 Thread puvar at rambler-co dot ru
Expected output on little-endian machines: DEF05678 Real output with optimization -O2 (where -- is trash): DEF0 Compilation command: g++ -O2 t.c Program text: #include stdio.h typedef unsigned char uint08_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef

[Bug c++/27426] optimization results in wrong argument passing

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-04 16:02 --- *** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27427] New: [4.0/4.1/4.2 regression] ICE with invalid template parameter

2006-05-04 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet crashes the C++ frontend sionce GCC 3.4.0: == struct A; templateA void foo(); A a; void bar() { fooa(); } == bug.cc:5: error: aggregate 'A a' has incomplete type and cannot be defined bug.cc:

[Bug c/21920] alias violating

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #95 from pinskia at gcc dot gnu dot org 2006-05-04 16:02 --- *** Bug 27426 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/27414] IA64 bootstrap comparison failure, stage 2 - 3

2006-05-04 Thread sje at cup dot hp dot com
--- Comment #2 from sje at cup dot hp dot com 2006-05-04 16:05 --- My nightly build based on SVN version 113509 bootstrapped fine. What source/SVN version were you building? I built using a GCC 4.0.2. -- sje at cup dot hp dot com changed: What|Removed

[Bug c++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter

2006-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27427

[Bug bootstrap/25672] cross build's libgcc picks up CFLAGS

2006-05-04 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2006-05-04 16:15 --- nobody cares about this bad flags pickup? (In reply to comment #5) hmm, CFLAGS_FOR_TARGET picks up CFLAGS. --- gcc-4.1-20060106/Makefile.in.orig 2005-12-15 15:02:02.0 +0100 +++ gcc-4.1-20060106/Makefile.in

[Bug middle-end/27414] IA64 bootstrap comparison failure, stage 2 - 3

2006-05-04 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2006-05-04 16:18 --- (In reply to comment #0) Hi, I just pulled from SVN and tried to build for IA64, and it fails with Comparing stages 2 and 3 warning: ./cc1-checksum.o differs Bootstrap comparison failure! ./varasm.o differs

[Bug middle-end/27428] New: [4.0/4.1/4.2 regression] ICE with goto in erroneous code

2006-05-04 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet causes a segfault in main_block_label in tree-cfg.c: === void foo() { goto L; if (0..) { L: ; } } === bug.c:4:9: error: too many decimal points in number bug.c: In function 'foo': bug.c:5: internal

[Bug middle-end/27428] [4.0/4.1/4.2 regression] ICE with goto in erroneous code

2006-05-04 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27428

[Bug c++/27430] New: ICE on array of voids as template parameter

2006-05-04 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet causes an ICE since at least GCC 2.95.3: = templatevoid[] struct A; = bug.cc:1: error: creating array of void bug.cc:1: internal compiler error: tree check: expected class 'type', have

[Bug c/27431] New: Internal error compiling qemu-0.8.0

2006-05-04 Thread pjb at informatimago dot com
Bugzilla says: Comment Too Long Comments cannot be longer than 65,535 characters. See: http://thalassa.informatimago.com/gcc-bug.txt If you ask for *.i files, why don't you provide a upload button in bugzilla? -- Summary: Internal error compiling qemu-0.8.0 Product: gcc

[Bug tree-optimization/27093] [4.2 Regression] verify_ssa failed: definition does not dominate use

2006-05-04 Thread dberlin at gcc dot gnu dot org
--- Comment #6 from dberlin at gcc dot gnu dot org 2006-05-04 16:52 --- G. These phi nodes are all dead, but it still is verifying them anyway. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27093

[Bug tree-optimization/27093] [4.2 Regression] verify_ssa failed: definition does not dominate use

2006-05-04 Thread dberlin at dberlin dot org
--- Comment #7 from dberlin at gcc dot gnu dot org 2006-05-04 16:57 --- Subject: Bug 27093 This should fix it. --- Comment #8 from dberlin at gcc dot gnu dot org 2006-05-04 16:57 --- Created an attachment (id=11374) --

[Bug c/27007] Missed optimization of comparison with 'limited range'

2006-05-04 Thread trt at acm dot org
--- Comment #7 from trt at acm dot org 2006-05-04 17:21 --- For the tree-vrp.c part of this, perhaps VR_VARYING should be deprecated? I notice there is a single place (set_value_range_to_varying) which assigns VR_VARYING but a couple dozen places that check it. If instead a type-based

[Bug tree-optimization/27331] [4.2 Regression] segfault in fold_convert with -ftree-vectorize -maltivec

2006-05-04 Thread aldot at gcc dot gnu dot org
--- Comment #4 from aldot at gcc dot gnu dot org 2006-05-04 17:23 --- for reference, the backtrace on i686: Program received signal SIGSEGV, Segmentation fault. 0x0820096f in fold_convert (type=0x0, arg=0xb71527fc) at ../../../src/gcc-4.2/gcc/fold-const.c:1991 1991 if

[Bug c/27007] Missed optimization of comparison with 'limited range'

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-05-04 17:24 --- (In reply to comment #7) For the tree-vrp.c part of this, perhaps VR_VARYING should be deprecated? How can something inside the compiler be deprecated? That is all internal and nobody sees it? --

[Bug c/27432] New: -fschedule-insns -O2 -march=athlon cause compilation error

2006-05-04 Thread master_up at post dot cz
Use -march=athlon-xp -O2 -fschedule-insns or -march=athlon -O2 -fschedule-insns gcc version where REPRODUCED: gcc-3.4-20060307 gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) --- NOT REPRODUCED by gcc-3.3.6 There is one more bug looking much similar but amd64 arch... is better

[Bug c/27432] -fschedule-insns -O2 -march=athlon cause compilation error

2006-05-04 Thread master_up at post dot cz
--- Comment #1 from master_up at post dot cz 2006-05-04 17:29 --- Created an attachment (id=11375) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11375action=view) gcc temp .i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27432

[Bug c/27432] -fschedule-insns -O2 -march=athlon cause compilation error

2006-05-04 Thread master_up at post dot cz
--- Comment #2 from master_up at post dot cz 2006-05-04 17:30 --- Created an attachment (id=11376) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11376action=view) gcc temp .s file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27432

[Bug target/27432] -fschedule-insns -O2 -march=athlon cause compilation error

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-04 17:30 --- This is the standard x86 vs 1st pass scheduling vs the register allocator bug. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27431] Internal error compiling qemu-0.8.0

2006-05-04 Thread aldot at gcc dot gnu dot org
--- Comment #1 from aldot at gcc dot gnu dot org 2006-05-04 17:30 --- (In reply to comment #0) If you ask for *.i files, why don't you provide a upload button in bugzilla? There is a Create an attachment link above. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27431

[Bug libgcj/26861] VirtualMachineError in interperter.

2006-05-04 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2006-05-04 17:35 --- Subject: Bug 26861 Author: tromey Date: Thu May 4 17:35:05 2006 New Revision: 113531 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113531 Log: PR libgcj/26861: * interpret.cc (run)

[Bug target/27431] Internal error compiling qemu-0.8.0

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-04 17:41 --- register struct CPUX86State *env asm(ebp); # 46 /d5/src/emulators/qemu-0.8.0/target-i386/exec.h register target_ulong T0 asm(ebx); register target_ulong T1 asm(esi); register target_ulong T2 asm(edi); What does one

[Bug libgcj/26861] VirtualMachineError in interperter.

2006-05-04 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2006-05-04 17:42 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27431] Internal error compiling qemu-0.8.0

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-04 17:42 --- *** This bug has been marked as a duplicate of 16185 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/16185] ICE: in spill_failure, at reload1.c:1892, global registers and long long

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-05-04 17:42 --- *** Bug 27431 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/7979] OpenUNIX8/Unixware stage 3 failing in eh_alloc.cc

2006-05-04 Thread brunson at brunson dot com
--- Comment #14 from brunson at brunson dot com 2006-05-04 17:43 --- This bug is still present in gcc-3.4.6 on UnixWare (running 7.1.4, but there's no reason not to suspect all versions). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7979

[Bug c++/27433] New: diagnostic for vector template argument is poor

2006-05-04 Thread pinskia at gcc dot gnu dot org
Testcase: #define __vector __attribute__((vector_size(16))) template class A void f(A, vector A, int); -- Currently we get: t1.cc:4: error: invalid vector type for attribute 'vector_size' Which is poor and does not explain that vectorsize attribute does not apply to the template arument,

[Bug c++/27433] diagnostic for vector template argument is poor

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-04 17:55 --- The same issue is inside a class which in my mind should work. #define __vector __attribute__((vector_size(16))) template class A struct b { __vector A t; }; --

[Bug libgcj/27294] gij throws NullPointerException, when the interpreter is not enabled

2006-05-04 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-05-04 18:10 --- It isn't clear what exception we ought to throw here. What is happening is that we've found a .class file for a class we're searching for, but libgcj is not configured to properly handle class files.

[Bug other/27434] New: port to POSIX 1003-1.2001 hosts for sort +N, tail +N

2006-05-04 Thread eggert at gnu dot org
I'll attach a patch to port the GCC build procedure to hosts (like mine) whose sort' and 'tail' implementations treat operands with leading '+' as file names, as POSIX has required since 2001. The patch doesn't affect the build procedure on traditional hosts that don't support POSIX syntax. This

[Bug other/27434] port to POSIX 1003-1.2001 hosts for sort +N, tail +N

2006-05-04 Thread eggert at gnu dot org
--- Comment #1 from eggert at gnu dot org 2006-05-04 18:31 --- Created an attachment (id=11377) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11377action=view) Patch to support POSIX 1003.1-2001 sort, tail -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27434

[Bug other/27434] port to POSIX 1003-1.2001 hosts for sort +N, tail +N

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-04 18:33 --- *** This bug has been marked as a duplicate of 14251 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/14251] Use POSIX-compatible flags for 'head' and 'tail'

2006-05-04 Thread pinskia at gcc dot gnu dot org
--- Comment #20 from pinskia at gcc dot gnu dot org 2006-05-04 18:33 --- *** Bug 27434 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/7979] OpenUNIX8/Unixware stage 3 failing in eh_alloc.cc

2006-05-04 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2006-05-04 18:34 --- To be honest, I dont't think this is, strictly speaking, a *bug*, because this target is not officially supported. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7979

[Bug libgcj/27352] SecurityManager.checkPermission() called unnecessarily

2006-05-04 Thread aph at gcc dot gnu dot org
--- Comment #5 from aph at gcc dot gnu dot org 2006-05-04 18:45 --- Subject: Bug 27352 Author: aph Date: Thu May 4 18:44:53 2006 New Revision: 113532 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113532 Log: 2006-05-04 Andrew Haley [EMAIL PROTECTED] * class.c

[Bug fortran/27436] New: gfortran: Abort compiling if there are insufficient data descriptors in format after reversion

2006-05-04 Thread tobias dot burnus at physik dot fu-berlin dot de
Split off of bug 27304 Currently, gfortran only detects that the IO format descriptor contains insufficient data at run time. It would be great (though of low priority) if it would find them at compile time. Examples: write(*,'(abc)') n write(10,(i7,(' abcd')), err=10) n, n As of fixing bug

[Bug libstdc++/6702] requirements for wchar_t support are too restrictive for Solaris pre 10

2006-05-04 Thread ebotcazou at gcc dot gnu dot org
--- Comment #29 from ebotcazou at gcc dot gnu dot org 2006-05-04 19:03 --- Fixed (again), for 4.1.1. Confirmed for all Solaris versions = 7 on 4.1 branch and mainline, thanks again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6702

[Bug fortran/27304] gfortran: Warn/abort when format in write does not fit passed arguments

2006-05-04 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #15 from tobias dot burnus at physik dot fu-berlin dot de 2006-05-04 19:09 --- I probably do something wrong, but with GNU Fortran 95 (GCC) 4.2.0 20060504 (experimental) from http://quatramaran.ens.fr/~coudert/gfortran/gfortran-x86_64-linux.tar.gz I still don't get a run

[Bug rtl-optimization/27437] New: [4.2 Regression]: -O3 regression due to SEE

2006-05-04 Thread hjl at lucon dot org
The new SEE pass is turned on by -O3, which introduces several regressions on Linux/x86 and probably on Linux/x86-64: http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg00171.html shows FAIL: gcc.c-torture/compile/pr20539-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL:

  1   2   >