[Bug target/29474] [4.1 Regression] reload_cse_simplify_operands, at postreload.c:393 on m68k with -O -fPIC

2006-10-15 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-15 08:34 --- Created an attachment (id=12434) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12434action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29474

[Bug target/29474] [4.1/4.2 Regression] reload_cse_simplify_operands, at postreload.c:393 on m68k with -O -fPIC

2006-10-15 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2006-10-15 08:37 --- Created an attachment (id=12435) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12435action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29474

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2006-10-15 08:40 --- (In reply to comment #10) This trimmed down example is invalid code. The if (i0) statement tries to use before it is defined. Sorry about that: the following code is valid, and also fails to compile with the

[Bug target/28181] [4.0/4.1/4.2 regression] ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k

2006-10-15 Thread tbm at cyrius dot com
--- Comment #8 from tbm at cyrius dot com 2006-10-15 08:43 --- Created an attachment (id=12436) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12436action=view) testcase another testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28181

[Bug debug/28834] [4.0/4.1/4.2 Regression] -O3 -g crashes sometimes when using may_alias and structs

2006-10-15 Thread ebotcazou at gcc dot gnu dot org
--- Comment #15 from ebotcazou at gcc dot gnu dot org 2006-10-15 11:38 --- Also fails on SPARC with -O3 -g. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29475] [4.0/4.1/4.2 Regression] incomplete template diagnostics.

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-15 14:52 --- Confirmed, a regression from 3.3. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/29478] [4.2 Regression] optmization generates warning for casts

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-15 15:25 --- Confirmed, a regression from 4.1.2. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29254] [4.2 Regression] verify_cgraph_node failed (inlined_to pointer is set but no predecessors found)

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-10-15 15:31 --- (In reply to comment #3) Confirmed. The warning is correct - we emit it with explicit casts, too. But surprisingly -Wno-cast-qual does not get rid of it. Except it is not correct and is a regression, see PR

[Bug middle-end/29478] [4.2 Regression] optmization generates warning for casts

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-15 15:41 --- Janis, Could you do a regression hunt on this bug? Thanks, Andrew -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29299] [4.2 Regresion] gcc used attribute has no effect on local-scope static variables

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-15 16:33 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/29299] [4.2 Regresion] gcc used attribute has no effect on local-scope static variables

2006-10-15 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-10-15 17:03 --- Not yet for -fno-unit-at-a-time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299

[Bug middle-end/29299] [4.2 Regresion] gcc used attribute has no effect on local-scope static variables

2006-10-15 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299

[Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-10-15 18:02 --- Created an attachment (id=12440) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12440action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29439

[Bug middle-end/29439] [4.2 only] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2006-10-15 18:02 --- Created an attachment (id=12441) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12441action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29439

[Bug middle-end/29439] [4.2 regression] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-15 18:35 --- This worked in 4.2.0 20061002 but failed in 4.2.0 20061014 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29439

[Bug tree-optimization/29439] [4.2 regression] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-15 18:56 --- The call int_const_binop to seems to be wrong, if the comment is correct the following is more correct: tree tmp = int_const_binop (TRUNC_DIV_EXPR, res,

[Bug c/29481] extra line in gcc/cgraphunit.c at line 1135

2006-10-15 Thread malitzke at metronets dot com
--- Comment #1 from malitzke at metronets dot com 2006-10-15 19:10 --- The line is actually in gcc/cgraphunit.c and not graphunit.c (sorry). cgraphunit.c was subjected to change by Jan Hubicka and Richard Guenther to fix PR middle-end/29299 on 2006-10-15. Probably something went

[Bug middle-end/29481] [4.2 Regression] extra line in gcc/cgraphunit.c at line 1135

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-15 19:12 --- Already fixed: http://gcc.gnu.org/ml/gcc-cvs/2006-10/msg00428.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/29480] Feature request - Addition to FORTIFY_SOURCE feature

2006-10-15 Thread robert at linuxfromscratch dot org
--- Comment #2 from robert at linuxfromscratch dot org 2006-10-15 19:41 --- echo '#include unistd.h int main () { chdir( / ); }' example.c $ gcc -o example example.c -D_FORTIFY_SOURCE -O2 example.c: In function 'main': example.c:5: warning: ignoring return value of 'chdir', declared

[Bug c/29480] Feature request - Addition to FORTIFY_SOURCE feature

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-15 19:45 --- That is because assert checks the result except when -DNDEBUG. This in turn is really a dup or bug 6906 which is about warning on side effects to assert. *** This bug has been marked as a duplicate of 6906 ***

[Bug c/6906] warn about asserts with side effects

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-15 19:45 --- *** Bug 29480 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29481] [4.2 Regression] extra line in gcc/cgraphunit.c at line 1135

2006-10-15 Thread malitzke at metronets dot com
--- Comment #3 from malitzke at metronets dot com 2006-10-15 19:46 --- This shows fantastic turnaroud; even on a weekend. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29481

[Bug middle-end/29241] [4.0/4.1/4.2 Regression] [non unit-at-a-time] ICE with always inline

2006-10-15 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2006-10-15 19:46 --- Subject: Bug 29241 Author: hubicka Date: Sun Oct 15 19:46:26 2006 New Revision: 117753 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117753 Log: PR middle-end/29241 * cgraphunit.c

[Bug c++/29363] [4.2 regression] ICE throwing undeclared object

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29363

[Bug c++/29388] [4.0/4.1/4.2 regression] ICE with invalid nested name specifier

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29388

[Bug target/29401] [4.0/4.1/4.2 Regression] missed-optimization (in unneeded code elimination)

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29401

[Bug c++/29408] [4.1/4.2 regression] parse error for valid code

2006-10-15 Thread mmitchel at gcc dot gnu dot org
--- Comment #9 from mmitchel at gcc dot gnu dot org 2006-10-15 21:21 --- There is long-standing confusion in the C++ standard regarding the naming of destructors in various situations. (Part of the issue is to what extent destructors have names, and how the injection of class names

[Bug tree-optimization/29415] [4.2 Regression] bad code reordering around inline asm block

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29415

[Bug c++/29417] [4.2 Regression] link fails with debug and anonymous namespace

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29417

[Bug c++/29435] [4.1/4.2 Regression] segmentation fault

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435

[Bug debug/29436] [4.0/4.1/4.2 Regression] ICE in modified_type_die

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29436

[Bug c++/29438] [4.0/4.1/4.2 Regression] Friendship problem

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29438

[Bug tree-optimization/29439] [4.2 regression] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread mmitchel at gcc dot gnu dot org
--- Comment #9 from mmitchel at gcc dot gnu dot org 2006-10-15 21:27 --- Is there a C/C++ equivalent? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29439

[Bug c++/29470] [4.1/4.2 Regression] Using declaration access semantics change with templates

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29470

[Bug c++/29475] [4.0/4.1/4.2 Regression] incomplete template diagnostics.

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29475

[Bug middle-end/29478] [4.2 Regression] optmization generates warning for casts

2006-10-15 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478

[Bug tree-optimization/29439] [4.2 regression] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-10-15 21:30 --- (In reply to comment #9) Is there a C/C++ equivalent? No because it depends on non constant subtypes. But that does not mean we could get the wrong answer from VRP because overflow is incorrectly set. --

[Bug target/29401] [4.0/4.1/4.2 Regression] missed-optimization (in unneeded code elimination)

2006-10-15 Thread hubicka at ucw dot cz
--- Comment #4 from hubicka at ucw dot cz 2006-10-15 22:20 --- Subject: Re: [4.0/4.1/4.2 Regression] missed-optimization (in unneeded code elimination) (insn:TI 38 37 26 2 (parallel [ (set (reg:SI 1 dx [+4 ]) (ashiftrt:SI (reg:SI 1 dx [+4 ])

[Bug middle-end/29299] [4.2 Regression] gcc used attribute has no effect on local-scope static variables

2006-10-15 Thread hubicka at ucw dot cz
--- Comment #9 from hubicka at ucw dot cz 2006-10-15 22:33 --- Subject: Re: [4.2 Regresion] gcc used attribute has no effect on local-scope static variables Reopening because it is not fixed for non unit at a time mode (-O0 for C). -O0 gets it right, just -O1 -fno-unit-at-a-time

[Bug c++/28211] [4.0/4.1/4.2 Regression] wrong linkage of template argument, diagnostic could be improved

2006-10-15 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 target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)

2006-10-15 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2006-10-15 22:54 --- Subject: Bug 29300 Author: danglin Date: Sun Oct 15 22:54:36 2006 New Revision: 117754 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117754 Log: PR target/29300 * inclhack.def

[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)

2006-10-15 Thread danglin at gcc dot gnu dot org
--- Comment #7 from danglin at gcc dot gnu dot org 2006-10-15 22:58 --- Subject: Bug 29300 Author: danglin Date: Sun Oct 15 22:58:29 2006 New Revision: 117755 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117755 Log: PR target/29300 * inclhack.def

[Bug tree-optimization/29439] [4.2 regression] ICE in fold-const.c:1385 with -O1 -fwrapv -ftree-vrp

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-10-16 00:15 --- Mine. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29403] print ('(a)') not working, print '(a) works

2006-10-15 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2006-10-16 00:51 --- Subject: Bug 29403 Author: kargl Date: Mon Oct 16 00:51:46 2006 New Revision: 117764 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117764 Log: 2006-10-15 Steven G. Kargl [EMAIL PROTECTED] PR

[Bug fortran/29403] print ('(a)') not working, print '(a) works

2006-10-15 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2006-10-16 00:54 --- Subject: Bug 29403 Author: kargl Date: Mon Oct 16 00:54:01 2006 New Revision: 117765 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117765 Log: 2006-10-15 Steven G. Kargl [EMAIL PROTECTED] PR

[Bug middle-end/20491] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

2006-10-15 Thread danglin at gcc dot gnu dot org
--- Comment #32 from danglin at gcc dot gnu dot org 2006-10-16 01:06 --- Subject: Bug 20491 Author: danglin Date: Mon Oct 16 01:05:51 2006 New Revision: 117766 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117766 Log: PR middle-end/20491

[Bug middle-end/20491] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

2006-10-15 Thread danglin at gcc dot gnu dot org
--- Comment #33 from danglin at gcc dot gnu dot org 2006-10-16 01:08 --- Subject: Bug 20491 Author: danglin Date: Mon Oct 16 01:08:04 2006 New Revision: 117767 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117767 Log: PR middle-end/20491

[Bug middle-end/20491] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

2006-10-15 Thread danglin at gcc dot gnu dot org
--- Comment #34 from danglin at gcc dot gnu dot org 2006-10-16 01:09 --- Subject: Bug 20491 Author: danglin Date: Mon Oct 16 01:09:23 2006 New Revision: 117768 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117768 Log: PR middle-end/20491

[Bug c++/29469] [DR 224] [4.1/4.2 Regression] error: non-template 'pair' used as template

2006-10-15 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||rejects-valid Summary|[DR 224] error: non-template|[DR

[Bug middle-end/20491] internal compiler error: in subreg_regno_offset, at rtlanal.c:3042

2006-10-15 Thread danglin at gcc dot gnu dot org
--- Comment #35 from danglin at gcc dot gnu dot org 2006-10-16 01:40 --- I think the PR can be closed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20491

[Bug target/28821] Unable to build Python

2006-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-16 01:42 --- Fixed by: 2006-10-15 John David Anglin [EMAIL PROTECTED] * pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined symbol in the output file for non-shared links when -nostdlib or

[Bug target/28821] Unable to build Python

2006-10-15 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-16 01:48 --- Subject: Re: Unable to build Python Fixed by: 2006-10-15 John David Anglin [EMAIL PROTECTED] * pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined symbol in the output