[Bug rtl-optimization/28634] [4.1/4.2 regression] rounding problem with -fdelayed-branch on hppa/mips

2006-08-13 Thread rsandifo at gcc dot gnu dot org
--- Comment #2 from rsandifo at gcc dot gnu dot org 2006-08-13 08:34 --- Re comment #1: it's a generic bug in reorg.c (fill_slots_from_thread). I'm testing a patch. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/28706] New: Compile failure with --combine and explicitly aligned structures

2006-08-13 Thread dwmw2 at infradead dot org
$ cat foo.c struct rb_node { } __attribute__((aligned(sizeof(long; extern struct rb_node *rb_prev(struct rb_node *); extern struct rb_node *rb_prev(struct rb_node *); $ gcc -c --combine foo.c foo.c foo.c:6: error: conflicting types for ‘rb_prev’ foo.c:5: error: previous declaration of

[Bug c/27898] Compile failure with --combine and anonymous structures

2006-08-13 Thread dwmw2 at infradead dot org
--- Comment #3 from dwmw2 at infradead dot org 2006-08-13 10:30 --- That simple test case seems to have been fixed with your patch -- thanks. Next failure reported as PR28706. Full test cases in Red Hat bug #194327 at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194327 --

[Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot

2006-08-13 Thread mueller at gcc dot gnu dot org
--- Comment #6 from mueller at gcc dot gnu dot org 2006-08-13 12:48 --- I'm currently testing this patch: --- cp/decl2.c (revision 116108) +++ cp/decl2.c (working copy) @@ -1541,7 +1541,7 @@ static tree min_vis_r (tree *tp, int *walk_subtrees, void *data) { int *vis_p = (int

[Bug c++/28707] New: Incorrect optimization inside member function

2006-08-13 Thread pierre at senellart dot com
Consider the following minimal example : --cut after-- #includeiostream struct A { long double * t; int n; A() { n=2; t=new long double[2]; } long double operator()(unsigned i) {return t[i];}; void bug(); }; void A::bug() { A a; for(int k=0;kn;k++) { if(k!=0) a(k-1)=0;

[Bug c/28706] Compile failure with --combine and explicitly aligned structures

2006-08-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/28707] [4.0 Regression] Incorrect optimization inside member function

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-13 15:15 --- Only a 4.0.x regression. DSE removes the store for some reason. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/28706] Compile failure with --combine and explicitly aligned structures

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-13 15:19 --- This works in 3.4.0 and 4.0.0 so this is either a regression or a bug in redhat's compiler or a bug in the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28706

[Bug c/28706] [4.1/4.2 Regression] Compile failure with --combine and explicitly aligned structures

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-13 15:23 --- It is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/28697] Behavior of __extension__ within __asm__ changed with regards to 3.4.4

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-13 16:08 --- Can you provide a self contained example? Really the __extension__ goes at the begining of the statement and not in the middle of it. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/28275] Error compiling template class containing dynamic_cast with -fno-rtti

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-13 16:09 --- Invalid for the same reason why PR 28687 is invalid. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28642] [4.0/4.1/4.2 Regression] ICE in layout_type, at stor-layout.c:1851

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-13 16:21 --- Confirmed, 3.2.3 did not ICE, though it did just ignore may_alias after warning about it. I am going to mark this a regression as the ICE is a regression for the code. -- pinskia at gcc dot gnu dot org changed:

[Bug target/28689] Cross compile internal error.

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-13 16:28 --- This works for me with a native build to i686-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28689

[Bug c++/28670] reject valid? conversion from `int' to non-scalar type `Y' requested.

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-13 16:31 --- Is there a reason why you can't ask first on the C++ news group, lang.c++ about this issue? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28670

[Bug target/28701] [4.1/4.2 regression] ABI test failures building libstdc++ on a glibc-2.4 based system

2006-08-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |blocker Summary|[ 4.1 / 4.2 regression] ABI |[4.1/4.2

[Bug c++/28704] %s substituted with static member/free can't be properly translated

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-13 16:33 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgomp/28708] New: FAIL: libgomp.fortran/vla6.f90 -O0 execution test

2006-08-13 Thread danglin at gcc dot gnu dot org
Executing on host: /xxx/gnu/gcc/objdir/gcc/xgcc -B/xxx/gnu/gcc/objdir/gcc/ /xxx/ gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/vla6.f90 -B/xxx/gnu/gcc/objdir/hp pa2.0w-hp-hpux11.00/./libgomp/ -I/xxx/gnu/gcc/objdir/hppa2.0w-hp-hpux11.00/./lib gomp -I/xxx/gnu/gcc/gcc/libgomp/testsuite/..

[Bug middle-end/27793] [4.1 Regression] num_ssa_names inconsistent or immediate use iterator wrong

2006-08-13 Thread jakub at gcc dot gnu dot org
--- Comment #22 from jakub at gcc dot gnu dot org 2006-08-13 19:26 --- Subject: Bug 27793 Author: jakub Date: Sun Aug 13 20:26:38 2006 New Revision: 116115 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116115 Log: 2006-08-13 Andrew MacLeod [EMAIL PROTECTED] PR

[Bug c++/27894] [4.1/4.2 Regression] internal compiler error: Segmentation fault with -O

2006-08-13 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2006-08-13 19:26 --- Subject: Bug 27894 Author: jakub Date: Sun Aug 13 20:26:38 2006 New Revision: 116115 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116115 Log: 2006-08-13 Andrew MacLeod [EMAIL PROTECTED] PR

[Bug c++/28677] [4.0/4.1 regression] Function prototype in function body crashes compilation

2006-08-13 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2006-08-13 19:26 --- Subject: Bug 28677 Author: jakub Date: Sun Aug 13 20:26:38 2006 New Revision: 116115 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116115 Log: 2006-08-13 Andrew MacLeod [EMAIL PROTECTED] PR

[Bug c++/26757] C++ front-end producing two DECLs with the same UID

2006-08-13 Thread jakub at gcc dot gnu dot org
--- Comment #30 from jakub at gcc dot gnu dot org 2006-08-13 19:26 --- Subject: Bug 26757 Author: jakub Date: Sun Aug 13 20:26:38 2006 New Revision: 116115 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116115 Log: 2006-08-13 Andrew MacLeod [EMAIL PROTECTED] PR

[Bug c/27184] [4.0/4.1/4.2 Regression] Wrong code with pointers to arrays and types and strict aliasing

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-08-13 20:16 --- Subject: Bug 27184 Author: pinskia Date: Sun Aug 13 21:16:46 2006 New Revision: 116116 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116116 Log: 2006-08-13 Alexandre Oliva [EMAIL PROTECTED]

[Bug c/27184] [4.0/4.1 Regression] Wrong code with pointers to arrays and types and strict aliasing

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-08-13 20:17 --- Fixed on the mainline, will apply to the branches after a week or so. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/28709] New: [4.0/4.1/4.2 regression] Bad diagnostic pasting tokens with ##

2006-08-13 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet generates a bogus error message since GCC 3.1: == #define foo - ## foo; == bug.c:2:1: error: pasting - and does not give a valid preprocessing token bug.c:2: error: expected identifier or '(' before '-' token

[Bug preprocessor/28709] [4.0/4.1/4.2 regression] Bad diagnostic pasting tokens with ##

2006-08-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28709

[Bug preprocessor/28709] [4.0/4.1/4.2 regression] Bad diagnostic pasting tokens with ##

2006-08-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28709

[Bug c++/28710] New: [4.0/4.1/4.2 regression] ICE redeclaring template as non-template

2006-08-13 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.0.1: === templateint union A; struct A; === bug.cc:2: error: redeclaration of 'Aanonymous ' as a non-template bug.cc:2: internal compiler error: tree check: expected class 'type', have

[Bug c++/28710] [4.0/4.1/4.2 regression] ICE redeclaring template as non-template

2006-08-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor Target Milestone|--- |4.0.4

[Bug c++/28711] New: ICE on invalid initializer for multidimensional array

2006-08-13 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since at least GCC 2.95.3: === templateint struct A { int x[1][1]; A() : x((int[1][]){{0}}) {} }; A0 a; === bug.cc: In constructor 'Aanonymous ::A()': bug.cc:4: error: multidimensional array

[Bug c++/28711] ICE on invalid initializer for multidimensional array

2006-08-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28711

[Bug c/28712] New: Compile failure with --combine and packed structures.

2006-08-13 Thread dwmw2 at infradead dot org
$ cat foo.i struct tss_struct; extern struct tss_struct *doublefault_tss; struct tss_struct { } __attribute__((packed)); $ gcc -c --combine foo.i foo.i $ gcc -c --combine foo.i foo.i foo.i foo.i:3: error: conflicting types for ‘doublefault_tss’ foo.i:3: error: previous declaration of

[Bug c++/28687] [4.2 regression] dynamic_castvoid* disallowed too rigorously with -fno-rtti

2006-08-13 Thread patchapp at dberlin dot org
--- Comment #15 from patchapp at dberlin dot org 2006-08-13 23:40 --- Subject: Bug number PR 28687 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00371.html --

[Bug c/28712] [4.0/4.1/4.2 Regression] Compile failure with --combine and packed structures.

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-13 23:46 --- Confirmed, this worked in 3.4.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/27890] [4.2 regression] lib/logging.properties pollutes common namespace

2006-08-13 Thread debian-gcc at lists dot debian dot org
--- Comment #8 from debian-gcc at lists dot debian dot org 2006-08-14 00:01 --- Is this really the only problem? All .la, .a and .so files get overwritten as well. Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27890

[Bug c++/28056] [4.1/4.2 regression] enum accepted as scope

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-14 00:25 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28302] [4.0/4.1/4.2 regression] ICE with bit-complement for vectors

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-14 00:26 --- I have time to test this patch later tonight. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26051] [4.2 Regression] libgcc_s.so.1 causes SEGV on Solaris 10/x86

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-14 00:30 --- Closing as fixed then. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28689] Cross compile internal error.

2006-08-13 Thread lee dot adamson at macquarie dot com
--- Comment #5 from lee dot adamson at macquarie dot com 2006-08-14 01:24 --- It also works on native i386-pc-solaris2.10, just not on the cross. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28689

[Bug c/27489] [4.1/4.2 regression] ICE on broken switch condition

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-08-14 02:29 --- Testing the patch right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27489

[Bug target/12477] Request to add ability to disable inline/dllimport warnings

2006-08-13 Thread paragw at excite dot com
--- Comment #12 from paragw at excite dot com 2006-08-14 02:38 --- This happens with Qt4 Win32 as well - lot of warnings - warning: inline function... attribute ignored. All that's needed is a -Wno-inline-dllimport type of flag to mingw to suppress these warnings. Specifying dllimport

[Bug c/28713] New: GNU OpenMP produces type mismatches

2006-08-13 Thread pinskia at gcc dot gnu dot org
/src/gcc/local/gcc/gcc/testsuite/gcc.dg/gomp/vla-3.c: In function 'foo':^M /src/gcc/local/gcc/gcc/testsuite/gcc.dg/gomp/vla-3.c:9: error: statement types mismatch^M .omp_data_iD.1591 = .omp_data_o.11D.1606;^M ^M struct .omp_data_s.9D.1599 *^M struct .omp_data_s.9D.1588 *^M

[Bug middle-end/28713] GNU OpenMP produces type mismatches

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-14 05:51 --- gcc.dg/gomp/vla-4.c fails the same way. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28713] GNU OpenMP produces type mismatches

2006-08-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-14 05:51 --- And gcc.dg/gomp/vla-5.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28713