[Bug rtl-optimization/26069] [4.0/4.1/4.2 Regression] Runtime endian-ness check is no longer optimized out.

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-08-26 06:41 --- (In reply to comment #8) > Richard, Roger's patch for VIEW_CONVERT_EXPR folding hit mainline now. And VCE is documented as being undefined for types of different sizes. maybe we can produce VIEW_CONVERT_EXPR[0] but

[Bug bootstrap/26999] [4.2 Regression] bootstrap failure with --disable-libdecnumber or --disable-libcpp

2006-08-25 Thread echristo at apple dot com
--- Comment #6 from echristo at apple dot com 2006-08-26 06:37 --- Patch submitted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26999

[Bug target/18900] Don't use fp regs for mem moves without explicit use of fp

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-26 05:14 --- Actually the easy way for this to be fixed (maybe) is not to allow DImode in the fp register class. Though that might fail as we need that to support for converting between floating point and integers. -- http:

[Bug tree-optimization/28643] redundant phi-node in latch-block prevents vectorization

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-26 04:45 --- This is not target specific. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added GCC b

[Bug middle-end/28367] accessing via union on a vector does not cause vec_extract to be used

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-26 04:48 --- This is not target specific. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/16797] Opportunity to remove unnecessary load instructions

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-08-26 04:37 --- The load issue is really the same as PR 25553 and this is target independent. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/19407] vector keyword in typedef inside template struct ignored

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-26 04:26 --- This is not target specific. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added GCC ta

[Bug middle-end/28690] [4.2 Regression] Performace problem with indexed load/stores on powerpc

2006-08-25 Thread bergner at vnet dot ibm dot com
--- Comment #3 from bergner at vnet dot ibm dot com 2006-08-26 04:24 --- Ok, I tracked down where the expander is swapping the operands. It's occuring at simplify-rtx.c:simplify_binary_operation() at line 1459: /* Make sure the constant is second. */ if (GET_RTX_CLASS (code) == RT

[Bug rtl-optimization/25848] local alloc causing an extra move

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-26 04:23 --- powerpc-linux-gnu has the same issue with local alloc. Actually wait this is the same as PR 25381. extsw is needed for the ABI as slwi zeros the top 32bits. *** This bug has been marked as a duplicate of 25381 ***

[Bug rtl-optimization/25381] local alloc is not really that good

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-26 04:23 --- *** Bug 25848 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25381

[Bug rtl-optimization/25848] local alloc causing an extra move

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-26 04:19 --- ;; Register 120 in 0. ;; Register 121 in 3. ;; Register 122 in 3. (insn:HI 6 16 10 2 (set (reg/v:DI 120 [ a ]) (reg:DI 3 3 [ a ])) 331 {*movdi_internal64} (nil) (expr_list:REG_DEAD (reg:DI 3 3 [ a ])

[Bug target/25565] GCC compiled with --target=powerpcle-*-eabi produces big-endian logic with little-endian ordering

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-26 03:58 --- GCC only produces a .s file so this is a binutils bug or you are configuring binutils wrong. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/21733] filecmp.c:252: warning: #n1# may be used uninitialized in this function

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-26 03:52 --- This is not a target specific bug either. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/28690] [4.2 Regression] Performace problem with indexed load/stores on powerpc

2006-08-25 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 debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #8 from drow at gcc dot gnu dot org 2006-08-26 03:48 --- My fix was completely wrong. I'll try again. The problem is that we have function f class s static function g We never walk into f. So we never find out that it contains g, and g needs a DIE. Normally,

[Bug c++/28639] [4.2 regression] ICE trying to print error on invalid template parameter

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-26 03:38 --- I get a different failure: t.cc:1: error: ‘void’ is not a valid type for a template constant parameter t.cc: In instantiation of ‘const int A< >::i’: t.cc:4: instantiated from here t.cc:4: internal compiler error:

[Bug c/27893] [4.0 Regression] ICE with TREE_CONSTANT VLA sizes inside functions

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-26 02:37 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/28299] [4.0/4.1 regression] ICE with -Wmissing-prototypes

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-26 02:36 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-08-26 02:34 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/20983] [4.0/4.1/4.2 Regression] varargs functions force va_list variable to stack unnecessarily

2006-08-25 Thread kazu at gcc dot gnu dot org
--- Comment #9 from kazu at gcc dot gnu dot org 2006-08-26 01:26 --- I'm looking at this. -- kazu at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug bootstrap/26999] [4.2 Regression] bootstrap failure with --disable-libdecnumber or --disable-libcpp

2006-08-25 Thread echristo at apple dot com
--- Comment #5 from echristo at apple dot com 2006-08-26 01:15 --- patch in testing -- echristo at apple dot com changed: What|Removed |Added AssignedTo|unassigne

[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-08-26 01:01 --- Fixed on mainline, 4.1 branch, and 4.0 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-08-26 00:59 --- Subject: Bug 28853 Author: reichelt Date: Sat Aug 26 00:59:09 2006 New Revision: 116466 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116466 Log: PR c++/28853 * typeck2.c (cxx_incomplete_t

[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-08-26 00:46 --- Subject: Bug 28853 Author: reichelt Date: Sat Aug 26 00:45:31 2006 New Revision: 116465 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116465 Log: PR c++/28853 * typeck2.c (cxx_incomplete_t

[Bug c++/28855] Internal Compiler Error / Segmentation Fault compiling single self-made header file

2006-08-25 Thread coolhand2 at gmail dot com
--- Comment #1 from coolhand2 at gmail dot com 2006-08-26 00:40 --- Created an attachment (id=12142) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12142&action=view) Pre-processed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28855

[Bug c++/28855] New: Internal Compiler Error / Segmentation Fault compiling single self-made header file

2006-08-25 Thread coolhand2 at gmail dot com
Internal Compiler Error / Segmentation Fault when compiling single self-made header file. Compiled using cygwin g++ with no options on header file: stats.h Actual Results: stats.h:625: internal compiler error: Segmentation fault Expected: No errors of any kind to show up. Clean compile no output

[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2006-08-26 00:38 --- Subject: Bug 28853 Author: reichelt Date: Sat Aug 26 00:37:48 2006 New Revision: 116464 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116464 Log: PR c++/28853 * typeck2.c (cxx_incomplete_t

[Bug c++/28852] [4.0/4.1/4.2 regression] ICE on invalid conversion operator

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2006-08-26 00:30 --- Fixed on mainline. WONTFIX on the branches, see http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00960.html -- reichelt at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/28852] [4.0/4.1/4.2 regression] ICE on invalid conversion operator

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2006-08-26 00:27 --- Subject: Bug 28852 Author: reichelt Date: Sat Aug 26 00:25:59 2006 New Revision: 116463 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116463 Log: PR c++/28852 * cp-tree.h (grok_op_properti

[Bug c++/27547] [4.0/4.1/4.2 regression] ICE on invalid operator=

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2006-08-26 00:27 --- Subject: Bug 27547 Author: reichelt Date: Sat Aug 26 00:25:59 2006 New Revision: 116463 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116463 Log: PR c++/28852 * cp-tree.h (grok_op_properti

[Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #10 from jsm28 at gcc dot gnu dot org 2006-08-26 00:25 --- Subject: Bug 28418 Author: jsm28 Date: Sat Aug 26 00:24:31 2006 New Revision: 116461 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116461 Log: 2006-08-25 Fariborz Jahanian <[EMAIL PROTECTED]> PR c

[Bug c/28299] [4.0/4.1 regression] ICE with -Wmissing-prototypes

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2006-08-26 00:23 --- Subject: Bug 28299 Author: jsm28 Date: Sat Aug 26 00:22:23 2006 New Revision: 116459 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116459 Log: PR c/28299 * c-decl.c (start_function): Don't try

[Bug c/27893] [4.0 Regression] ICE with TREE_CONSTANT VLA sizes inside functions

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2006-08-26 00:16 --- Subject: Bug 27893 Author: jsm28 Date: Sat Aug 26 00:16:07 2006 New Revision: 116454 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116454 Log: PR c/27893 * gimplify.c (gimplify_decl_expr, gimp

[Bug c/27558] [4.0/4.1 Regression] Wrong type in warning

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #9 from jsm28 at gcc dot gnu dot org 2006-08-26 00:12 --- Although the patch applies to 4.0 (with fold_build2 (...) changed to fold (build2 (...))), a different testcase seems to be needed there. -- jsm28 at gcc dot gnu dot org changed: What|Removed

[Bug c/27697] [4.0 Regression] incorrect warning about constness of pointer to an array in a const struct

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #10 from jsm28 at gcc dot gnu dot org 2006-08-26 00:11 --- Not working on 4.0 fix, as noted at http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00566.html one test fails there with the patch applied. -- jsm28 at gcc dot gnu dot org changed: What|Removed

[Bug c++/21308] [4.0 Regression] Very high compile time

2006-08-25 Thread echristo at apple dot com
--- Comment #16 from echristo at apple dot com 2006-08-26 00:10 --- Should this be closed as "unlikely to fix in 4.0"? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21308

[Bug target/28854] unwinder reports sentinel frame.

2006-08-25 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-08-25 23:28 --- the 0x12668 is a last valid return point. 0x00012630 <_start+0>: br gp,0x12634 <_start+4> 0x00012634 <_start+4>: ldahgp,2(gp) 0x00012638 <_start+8>: lda gp,-31092(gp) 0x000

[Bug c++/24009] [4.0/4.1/4.2 regression] C++ fails to print #include stack

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #13 from jsm28 at gcc dot gnu dot org 2006-08-25 23:23 --- Working on a fix. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug target/28854] New: unwinder reports sentinel frame.

2006-08-25 Thread pluto at agmk dot net
on alpha-linux target the unwinder reports sentinel frame. imho it has no sense. $ gcc testcase.c -O2; ./a.out ip = 0x12768 ip = 0x2076860 ip = 0x12668 ip = (nil) a.out: testcase.c:10: helper: Assertion `ip != 0' failed. $ cat testcase.c #include #include #include #include _Unwind

[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter

2006-08-25 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=28853

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

2006-08-25 Thread reichelt at gcc dot gnu dot org
The following testcase triggers an ICE since GCC 4.0.0: == template class A> int A<0>::i; == bug.cc:1: internal compiler error: in cxx_incomplete_type_diagnostic, at cp/typeck2.c:426 Please submit a full bug r

[Bug c/27893] [4.0/4.1/4.2 Regression] ICE with TREE_CONSTANT VLA sizes inside functions

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2006-08-25 23:05 --- Subject: Bug 27893 Author: jsm28 Date: Fri Aug 25 23:05:20 2006 New Revision: 116452 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116452 Log: PR c/27893 * gimplify.c (gimplify_decl_expr, gimp

[Bug c/27893] [4.0/4.1/4.2 Regression] ICE with TREE_CONSTANT VLA sizes inside functions

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2006-08-25 23:01 --- Subject: Bug 27893 Author: jsm28 Date: Fri Aug 25 23:01:16 2006 New Revision: 116450 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116450 Log: PR c/27893 * gimplify.c (gimplify_decl_expr, gimp

[Bug c++/28851] template derived class cannot access protected variables in template base class

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-25 22:56 --- Please read http://gcc.gnu.org/gcc-3.4/changes.html. This is not a bug except in GCCs before 3.3. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/28852] [4.0/4.1/4.2 regression] ICE on invalid conversion operator

2006-08-25 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=28852

[Bug c++/28852] New: [4.0/4.1/4.2 regression] ICE on invalid conversion operator

2006-08-25 Thread reichelt at gcc dot gnu dot org
Once again (see PR27547) the C++ frontend stumbles over an invalid operator: struct A { operator int&(int); }; A a; int& i = a; n4.cc:3: error: 'A::operator int&(int)' must take 'void' n4.cc:7: internal compiler error: Segmentation fault Please

[Bug c++/28851] New: template derived class cannot access protected variables in template base class

2006-08-25 Thread juechangan at yahoo dot com
template derived class cannot access protected variables in template base class complier: g++ version 4.1.1 error message: main.cpp: In constructor ‘D::D()’: main.cpp:13: error: ‘var’ was not declared in this scope (compiling with g++ version 3.2, everything is OK) Entire test program is liste

[Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #9 from jsm28 at gcc dot gnu dot org 2006-08-25 22:52 --- Subject: Bug 28418 Author: jsm28 Date: Fri Aug 25 22:52:40 2006 New Revision: 116446 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116446 Log: 2006-08-25 Fariborz Jahanian <[EMAIL PROTECTED]> PR c/

[Bug c/28299] [4.0/4.1 regression] ICE with -Wmissing-prototypes

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2006-08-25 22:50 --- Subject: Bug 28299 Author: jsm28 Date: Fri Aug 25 22:50:03 2006 New Revision: 116444 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116444 Log: PR c/28299 * c-decl.c (start_function): Don't try

[Bug c/27558] [4.0/4.1 Regression] Wrong type in warning

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #8 from jsm28 at gcc dot gnu dot org 2006-08-25 22:47 --- Subject: Bug 27558 Author: jsm28 Date: Fri Aug 25 22:47:00 2006 New Revision: 116442 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116442 Log: PR c/27558 Backport: 2006-04-20 Jakub Je

[Bug c++/27398] [4.0/4.1/4.2 regression] ICE on missing closing parenthesis

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-08-25 22:46 --- Backporting the patch to the branches was considered to risky, see http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00804.html So closing as fixed on mainline. -- reichelt at gcc dot gnu dot org changed:

[Bug tree-optimization/26963] ICE with -fipa-pta and templates

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-08-25 22:39 --- *** Bug 28372 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26963

[Bug tree-optimization/28372] Segfault with -fipa-pta

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-08-25 22:39 --- *** This bug has been marked as a duplicate of 26963 *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/26963] ICE with -fipa-pta and templates

2006-08-25 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-08-25 22:39 --- This was fixed on 2006-08-23, most likely by Jason's fix for PR 23372. The testcases in PR 27159 and 28372 compile, too. -- reichelt at gcc dot gnu dot org changed: What|Removed

[Bug c++/28139] alias information for EH is wrong

2006-08-25 Thread mrs at apple dot com
--- Comment #8 from mrs at apple dot com 2006-08-25 22:27 --- Date: Fri, 25 Aug 2006 16:03:00 -0400 From: Jason Merrill <[EMAIL PROTECTED]> Subject: Re: RFA: Fix PR 28139 Message-id: <[EMAIL PROTECTED]> This is OK. :REVIEWURL http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01295.html: -

[Bug c++/28595] [4.1/4.2 regression] ICE with invalid const static variable

2006-08-25 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #14 from drow at gcc dot gnu dot org 2006-08-25 22:11 --- Testing a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28778

[Bug middle-end/28814] [4.1 regression] in compare_values, at tree-vrp.c:415

2006-08-25 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-08-25 22:02 --- Fixed in 4.2. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work|4.

[Bug middle-end/28814] [4.1/4.2 regression] in compare_values, at tree-vrp.c:415

2006-08-25 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-08-25 22:01 --- Subject: Bug 28814 Author: rguenth Date: Fri Aug 25 22:01:28 2006 New Revision: 116439 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116439 Log: 2006-08-26 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/28850] missed call -> jmp transformation; redundant unwind stuff with empty finally

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-25 21:59 --- (In reply to comment #1) > It's not entirely clear from your report, but this looks like a bug of > PR13397? No it is not fully related. One of the problems is that we don't remove empty finnally blocks. Reduced t

[Bug tree-optimization/28850] missed call -> jmp transformation; redundant unwind stuff.

2006-08-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-08-25 21:51 --- It's not entirely clear from your report, but this looks like a bug of PR13397? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28850

[Bug libgomp/25938] [4.2 regression] libgomp installs header files in version and target independent location

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #10 from jsm28 at gcc dot gnu dot org 2006-08-25 21:47 --- Working on a fix. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug c/28418] [4.0/4.1 regression] ICE incrementing compound literal expression

2006-08-25 Thread fjahanian at apple dot com
--- Comment #8 from fjahanian at apple dot com 2006-08-25 21:36 --- I was about to sub mit the patch. Thank you for this patch. - Fariborz > Subject: Bug 28418 > > Author: jsm28 > Date: Fri Aug 25 21:14:24 2006 > New Revision: 116436 > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=

[Bug c/28418] [4.0/4.1/4.2 regression] ICE incrementing compound literal expression

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #7 from jsm28 at gcc dot gnu dot org 2006-08-25 21:14 --- Subject: Bug 28418 Author: jsm28 Date: Fri Aug 25 21:14:24 2006 New Revision: 116436 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116436 Log: 2006-08-25 Fariborz Jahanian <[EMAIL PROTECTED]> PR c/

[Bug c/28299] [4.0/4.1/4.2 regression] ICE with -Wmissing-prototypes

2006-08-25 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2006-08-25 21:11 --- Subject: Bug 28299 Author: jsm28 Date: Fri Aug 25 21:11:46 2006 New Revision: 116435 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116435 Log: PR c/28299 * c-decl.c (start_function): Don't try

[Bug target/28847] as compiler error

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-25 21:09 --- (In reply to comment #3) > OK, but what is PR 2252 ? Try http://gcc.gnu.org/PR2252. > Simple, but it's still a bug. Yes but not a GCC one; it is a binutils bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #13 from drow at gcc dot gnu dot org 2006-08-25 20:57 --- Unfortunately Diego's gone and rewritten a bunch of aliasing code since that revision. And there's no code corresponding to where the fix went 21 months ago. So, congratulations: we've broken this testcase twice! I

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #12 from drow at gcc dot gnu dot org 2006-08-25 20:50 --- Created an attachment (id=12141) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12141&action=view) Aliasing fix. Thank you Janis for the reghunt! Not too hard to track down given that. I haven't tested this pat

[Bug tree-optimization/17506] [4.0/4.1/4.2 regression] warning about uninitialized variable points to wrong location

2006-08-25 Thread kazu at gcc dot gnu dot org
--- Comment #26 from kazu at gcc dot gnu dot org 2006-08-25 20:41 --- I'm going to test the patch in Comment #25. -- kazu at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/28849] Missed array shape violation with RESHAPE despite -fbounds-check

2006-08-25 Thread anlauf at gmx dot de
--- Comment #1 from anlauf at gmx dot de 2006-08-25 20:40 --- Created an attachment (id=12140) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12140&action=view) Sample RESHAPE with missed array bounds violation -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28849

[Bug target/28621] [4.1/4.2 Regression] SIGSEGV in set_fast_math () at -Os

2006-08-25 Thread pbrook at gcc dot gnu dot org
--- Comment #8 from pbrook at gcc dot gnu dot org 2006-08-25 20:40 --- Subject: Bug 28621 Author: pbrook Date: Fri Aug 25 20:39:48 2006 New Revision: 116431 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116431 Log: 2006-08-25 Jan Hubicka <[EMAIL PROTECTED]> PR target

[Bug tree-optimization/28850] New: missed call -> jmp transformation; redundant unwind stuff.

2006-08-25 Thread pluto at agmk dot net
$ cat fake_bomber.cpp struct bomber { bomber() : bum( false ) { } ~bomber() { if ( bum ) throw 0; } // this will never throw private: bool bum; }; void zoo() { } void bar( void ( *f )() ) { #ifndef CALL2JMP bomber b; // fake bomber #endif f(); } void foo

[Bug fortran/28849] New: Missed array shape violation with RESHAPE despite -fbounds-check

2006-08-25 Thread anlauf at gmx dot de
The assignment of a RESHAPE()d array does not trigger a run-time error with bounds-checking turned on. % gfortran -O0 -g -fbounds-check gfcbug39_bounds_check.f90 && ./a.out Assignments with correct shapes after RESHAPE... a(:,1) = 1.00 b(:,1) = 1.00 2.00 ...and wi

[Bug target/27883] [4.0/4.1/4.2 regression] in schedule_insns, at sched-rgn.c:3038 on mips

2006-08-25 Thread tbm at cyrius dot com
--- Comment #13 from tbm at cyrius dot com 2006-08-25 20:09 --- Reduced testcase: double copysign (double x, double y); double GetDouble(); double a = copysign (1.0, GetDouble()); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27883

[Bug tree-optimization/28778] [4.0/4.1/4.2 Regression] alias bug with cast and call clobbered

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #11 from drow at gcc dot gnu dot org 2006-08-25 19:57 --- I am looking at this. The difference between those two compilers in t16.ssa is: - # blist_1 = PHI ; + # blist_1 = PHI ; The difference in t17.alias1 is that, plus: -Variable: list, UID 2, int[31], is addressable,

[Bug target/21122] ICE in schedule_insns, at sched-rgn.c:2549

2006-08-25 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2006-08-25 19:38 --- FWIW, I cannot reproduce this with gcc 4.0.4 20060730 on hppa-linux-gnu, nor with current 4.1 or 4.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21122

[Bug middle-end/27945] [4.0/4.1/4.2 Regression] Packed struct of variable length has wrong size

2006-08-25 Thread kazu at gcc dot gnu dot org
--- Comment #7 from kazu at gcc dot gnu dot org 2006-08-25 19:31 --- Reproduced. Looking at this now. -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28847] as compiler error

2006-08-25 Thread ulvinge at gmail dot com
--- Comment #3 from ulvinge at gmail dot com 2006-08-25 19:27 --- OK, but what is PR 2252 ? Nevermind, it was easy to fix... just change lea ebx, ebx+buffer to lea ebx, buffer+ebx Simple, but it's still a bug. I wont care. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28847

[Bug target/28847] as compiler error

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-25 19:15 --- This is not a GCC issue really but a bug in as, yes we should not report to file a bug here but that is PR 2252. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28847] as compiler error

2006-08-25 Thread ulvinge at gmail dot com
--- Comment #1 from ulvinge at gmail dot com 2006-08-25 19:13 --- I fogot to mention, that the line that caused the bug is this line "\n lea ebx, ebx+buffer" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28847

[Bug target/28847] as compiler error

2006-08-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Component|c |target http:

[Bug c/28848] New: argument mismatch for late-prototyped function should be warning, not error

2006-08-25 Thread amylaar at gcc dot gnu dot org
gcc.dg/noncompile/pr16876 should actually compile with a warning, rather than fail with an error. Some work on related issues has been done before in: http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00772.html I suppose in this code: case ic_argpass: case ic_argpass_nonproto: /* ??? Th

[Bug c/28847] New: as compiler error

2006-08-25 Thread ulvinge at gmail dot com
gcc: Internal error: Segmentation fault (program as) Please submit a full bug report. See http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see . This is waht gcc gives me when I compile with clear; gcc asciiFractal3.c -masm=intel -o asciiFra

[Bug target/27075] [4.1/4.2 Regression] Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE

2006-08-25 Thread dje at gcc dot gnu dot org
--- Comment #19 from dje at gcc dot gnu dot org 2006-08-25 19:06 --- Subject: Bug 27075 Author: dje Date: Fri Aug 25 19:06:18 2006 New Revision: 116426 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116426 Log: PR target/27075 * config/rs6000/rs6000.c (print_oper

[Bug target/27883] [4.0/4.1/4.2 regression] in schedule_insns, at sched-rgn.c:3038 on mips

2006-08-25 Thread tbm at cyrius dot com
--- Comment #12 from tbm at cyrius dot com 2006-08-25 19:05 --- Update: mzero6.c fails because of this ICE too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27883

[Bug debug/27574] [4.1/4.2 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #15 from drow at gcc dot gnu dot org 2006-08-25 18:57 --- I don't think I can sort this one out. I think the easiest solution will be to check when marking a function as reachable whether it has an abstract origin, and if so set a flag in the abstract origin preventing its b

[Bug target/27075] [4.1/4.2 Regression] Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE

2006-08-25 Thread dje at gcc dot gnu dot org
--- Comment #18 from dje at gcc dot gnu dot org 2006-08-25 18:56 --- patch committed. -- dje at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/27075] [4.1/4.2 Regression] Compiler generate incorrect assembler for __sync_fetch-* builtins on e500 aka SPE

2006-08-25 Thread dje at gcc dot gnu dot org
--- Comment #17 from dje at gcc dot gnu dot org 2006-08-25 18:56 --- Subject: Bug 27075 Author: dje Date: Fri Aug 25 18:56:08 2006 New Revision: 116425 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116425 Log: PR target/27075 * config/rs6000/rs6000.c (print_oper

[Bug tree-optimization/16876] [4.0/4.1/4.2 Regression] ICE on testcase with -O3 in fold-const

2006-08-25 Thread amylaar at gcc dot gnu dot org
--- Comment #16 from amylaar at gcc dot gnu dot org 2006-08-25 18:52 --- Subject: Bug 16876 Author: amylaar Date: Fri Aug 25 18:51:57 2006 New Revision: 116424 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116424 Log: gcc: PR tree-optimization/16876 * c-typeck.

[Bug c++/28588] [4.0/4.1/4.2 Regression] static private function

2006-08-25 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug c++/25950] [3.4/4.0/4.1] [DR 391] Reference binding and explicit copy constructors

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #24 from pinskia at gcc dot gnu dot org 2006-08-25 17:41 --- *** Bug 28846 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/28846] g++ wants a copy constructor for no reason

2006-08-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-25 17:41 --- Actually the standard as written requires this behavior, even though the copy constructor is not called. Anyways the standard has changed with DR 391 so this is a dup of bug 25950. *** This bug has been marked as a

[Bug c++/28846] New: g++ wants a copy constructor for no reason

2006-08-25 Thread charles at vmware dot com
gcc version 4.1.2 20060729 (prerelease) (Debian 4.1.1-10) g++ wants a Moo(const Moo&) in this code: class Moo { Moo() { } Moo(const Moo&) { } public: Moo(int) { } }; void xyz(const Moo &) { } int main() { xyz(Moo(0)); return 0; } test.cpp:5: error: 'Mo

[Bug debug/27017] [4.0/4.1/4.2 Regression] Debug information for static local class members are not emitted

2006-08-25 Thread drow at gcc dot gnu dot org
--- Comment #7 from drow at gcc dot gnu dot org 2006-08-25 17:27 --- Testing a fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27017

[Bug libstdc++/28457] ext/pb_ds/regression/tree_data_map_rand.cc fails with a particular random seed.

2006-08-25 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2006-08-25 17:18 --- I'm looking a bit into this: one puzzling thing is that the corresponding leak as reported by valgrind amounts to *zero* bytes... It may well be that something is wrong in the testing machinery / internal leak detection cod

[Bug c++/28705] [4.0/4.1/4.2 Regression] ICE: in type_dependent_expression_p, at cp/pt.c:12837

2006-08-25 Thread nathan at gcc dot gnu dot org
-- nathan at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org

[Bug fortran/28788] [gfortran: 4.1, 4.2 regression] ICE on valid code

2006-08-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2006-08-25 17:09 --- On x86-64 linux: (gdb) set args ' as free form. .file "" In file :598 use ModelParams 1 Error: The derived type 'p' at (1) is of type 'pp', which has not been defined. In file :415

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

2006-08-25 Thread mmitchel at gcc dot gnu dot org
--- Comment #6 from mmitchel at gcc dot gnu dot org 2006-08-25 17:05 --- Fixed in 4.1.2. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Stat

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

2006-08-25 Thread mmitchel at gcc dot gnu dot org
--- Comment #5 from mmitchel at gcc dot gnu dot org 2006-08-25 17:05 --- Subject: Bug 28056 Author: mmitchel Date: Fri Aug 25 17:05:30 2006 New Revision: 116412 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116412 Log: PR c++/28056 * decl.c (grokdeclarator): Di

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

2006-08-25 Thread mmitchel at gcc dot gnu dot org
--- Comment #4 from mmitchel at gcc dot gnu dot org 2006-08-25 17:04 --- Subject: Bug 28056 Author: mmitchel Date: Fri Aug 25 17:04:35 2006 New Revision: 116411 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116411 Log: PR c++/28056 * g++.dg/parse/local1.C: New

  1   2   >