[Bug fortran/45715] [ABI cleanup] Move runtime parsing of I/O control list to front end

2010-09-20 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-09-21 06:54 --- (In reply to comment #1) > Here is a case where we do have to evaluate at run time. So maybe we can not > do what is proposed above. Well, I understood the request such that one passes a boolean for the 'YES' / 'NO'

[Bug target/45694] [MinGW64] fortran host associated variables+optimization==failure?

2010-09-20 Thread t66667 at gmail dot com
--- Comment #10 from t7 at gmail dot com 2010-09-21 05:57 --- (In reply to comment #9) > (In reply to comment #8) > > This issue is caused by the fact that __chkstk clobbers r10 (see its > constrains), which is used here as argument-register for this nested function. > So something

[Bug fortran/45710] WRITE of NAMELIST group to internal file contains newline characters

2010-09-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-09-21 03:20 --- With current trunk, gfortran 4.6, I get: BEFORE: 001 @@@ 002 @@@ 003 @@@

[Bug fortran/45715] [ABI cleanup] Move runtime parsing of I/O control list to front end

2010-09-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2010-09-21 03:08 --- Here is a case where we do have to evaluate at run time. So maybe we can not do what is proposed above. character(10):: advancevar advancevar = "no" write(*, "(a)", advance=advancevar) "Well, " print *, "Does it

[Bug lto/45702] [4.6 Regression] New LTO test failures

2010-09-20 Thread danglin at gcc dot gnu dot org
--- Comment #15 from danglin at gcc dot gnu dot org 2010-09-21 00:44 --- Similar errors on hppa2.0w-hp-hpux11.11. Excess errors are: cc1: error: LTO support has not been enabled in this configuration cc1: error: LTO support has not been enabled in this configuration -- danglin at

[Bug middle-end/45712] [4.6 Regression] Segmentation violation when compiling spec source on either x86 or ppc with debugging

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-09-21 00:00 --- It is caused by revision 163808: http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00099.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45712

[Bug bootstrap/45666] ICE: /mingw/include/winnt.h:3350:5: Segmentation fault

2010-09-20 Thread t66667 at gmail dot com
-- t7 at gmail dot com changed: What|Removed |Added Severity|normal |blocker http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45666

[Bug 41437] No access control for classes in template functions

2010-09-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla-test/show_bug.cgi?id=41437 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirm

[Bug 40843] access violation not detected for non dependent qualified enum value

2010-09-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla-test/show_bug.cgi?id=40843 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug 41437] No access control for classes in template functions

2010-09-20 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla-test/show_bug.cgi?id=41437 Jonathan Wakely changed: What|Removed |Added CC||sipych at gmail dot com

[Bug rtl-optimization/45728] ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-09-20 22:40 --- Fixed on the trunk and in 4.5 so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/45695] [4.5/4.6 Regression] -O1 wrong-code by cmove

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-20 22:39 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/45728] ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-20 22:38 --- Subject: Bug 45728 Author: jakub Date: Mon Sep 20 22:38:42 2010 New Revision: 164468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164468 Log: PR rtl-optimization/45728 * expr.c (expand_expr_r

[Bug rtl-optimization/45695] [4.5/4.6 Regression] -O1 wrong-code by cmove

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-20 22:37 --- Subject: Bug 45695 Author: jakub Date: Mon Sep 20 22:37:32 2010 New Revision: 164467 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164467 Log: PR rtl-optimization/45695 * combine.c (try_combin

[Bug middle-end/28342] undefined symbol [local label] for goto from nested function and switch

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:30 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug fortran/45648] [4.6 regression] Unnecessary temporary for transpose calls as actual argument.

2010-09-20 Thread mikael at gcc dot gnu dot org
--- Comment #6 from mikael at gcc dot gnu dot org 2010-09-20 22:29 --- Created an attachment (id=21853) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21853&action=view) Updated patch I attach the full updated patch for convenience. -- mikael at gcc dot gnu dot org changed:

[Bug target/31100] ASM_OUTPUT_ALIGN_WITH_NOP wrong on sparc/gas

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:28 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug fortran/45648] [4.6 regression] Unnecessary temporary for transpose calls as actual argument.

2010-09-20 Thread mikael at gcc dot gnu dot org
--- Comment #5 from mikael at gcc dot gnu dot org 2010-09-20 22:26 --- (In reply to comment #4) > (In reply to comment #2) > > Created an attachment (id=21777) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21777&action=view) [edit] > > patch restoring the previous behaviour. > >

[Bug target/43426] dlsym: invalid version 5 (max 0)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:21 --- Not a GCC bug. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32874] Strange global register allocation, depends on order of functions

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:20 --- Not a bug. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug libfortran/36540] libgfortran compile warnings

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:18 --- Fortran works fine. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33033] FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2'

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:17 --- Still present. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33034] FAIL: gcc.c-torture/unsorted/DFcmp.c & SFset.c: internal compiler error: in extract_insn, at recog.c:2077

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:16 --- Indeed fixed in 4.4.x. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:14 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug target/35906] build fails when building with -m32 -mcpu=ultrasparc (sparcv9 or -mv8plus also)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:12 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug middle-end/44716] [4.6 Regression] Bootstrap fails with partial inlining (r161382)

2010-09-20 Thread sje at cup dot hp dot com
--- Comment #16 from sje at cup dot hp dot com 2010-09-20 22:12 --- Honza, have you had a chance to look at this failure recently? It is still happening and I can only build GCC on ia64-hp-hpux11.23 using workarounds to stop some of the inlining. -- http://gcc.gnu.org/bugzilla/show

[Bug middle-end/40078] passing label to inline asm "i" constraint generates bad code

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:12 --- GCC 4.5 now supports asm gotos. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30774] [4.3/4.4/4.5/4.6 regression] ld: fatal: too many symbols require `small' PIC references

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:07 --- As per comment #5. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/27355] bootstrap failure when merged with binutils-2.16.92

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:05 --- Probably no. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3

2010-09-20 Thread mikpe at it dot uu dot se
--- Comment #18 from mikpe at it dot uu dot se 2010-09-20 22:05 --- It's the 17 line if-for-return block headed by /* Check whether its cheaper to implement a left shift by a constant bit count by a sequence of additions. */ that gets miscompiled by stage1, which makes sense gi

[Bug bootstrap/27133] Fails to build because of funny version of makeinfo

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:04 --- No feedback. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Stat

[Bug c++/35573] internal compiler error: in reference_to_unused, at dwarf2out.c:10010

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:03 --- No preprocessed sources. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:02 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug target/36558] "V" inline asm constraint not working on sparc64

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:59 --- > Even though the use of the "m" constraint will fix this testcase, "m" cannot > be used in general, because it allows the operand to be offsetable. Right. > The casx instruction will not tolerate an offset. Acc

[Bug web/43011] Upgrade gcc.gnu.org/bugzilla to Bugzilla 3.6

2010-09-20 Thread LpSolit at netscape dot net
--- Comment #51 from LpSolit at netscape dot net 2010-09-20 21:47 --- Created an attachment (id=21852) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21852&action=view) GCC extension for 3.6.2, final Here is the final version of GCC extension itself. You untar it from the bugzilla/

[Bug target/40668] 64-bit sparc miscompiles memcpy of argument inside switch

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:46 --- By Jakub. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Status|

[Bug fortran/45438] [4.6 Regression] [OOP] ICE with -fcheck=pointer

2010-09-20 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-09-20 21:44 --- Fixed with r164462. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/40182] [4.4/4.5/4.6 regression] regressions in libjava testsuite on sparc-linux

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:44 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug web/43011] Upgrade gcc.gnu.org/bugzilla to Bugzilla 3.6

2010-09-20 Thread LpSolit at netscape dot net
--- Comment #50 from LpSolit at netscape dot net 2010-09-20 21:43 --- Created an attachment (id=21851) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21851&action=view) upgrade to 3.6.2 patch, final Here is my last iteration of the patch for the 3.6.2 upgrade. This patch alters cor

[Bug fortran/45438] [4.6 Regression] [OOP] ICE with -fcheck=pointer

2010-09-20 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2010-09-20 21:43 --- Subject: Bug 45438 Author: janus Date: Mon Sep 20 21:42:54 2010 New Revision: 164462 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164462 Log: 2010-09-20 Janus Weil PR fortran/45438 * tran

[Bug debug/40462] [4.5/4.6 Regression] ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #13 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:42 --- What's the status of this PR on RTEMS? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:40 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:35 --- At last. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug libstdc++/45628] std::fstream::tellg invalidates I/O buffer

2010-09-20 Thread paolo dot carlini at oracle dot com
--- Comment #56 from paolo dot carlini at oracle dot com 2010-09-20 21:32 --- David himself is on it. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #10 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:31 --- Subject: Bug 42775 Author: ebotcazou Date: Mon Sep 20 21:31:14 2010 New Revision: 164461 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164461 Log: PR rtl-optimization/42775 * cfgrtl.c (r

[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:31 --- Subject: Bug 42775 Author: ebotcazou Date: Mon Sep 20 21:30:35 2010 New Revision: 164460 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164460 Log: PR rtl-optimization/42775 * cfgrtl.c (re

[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #8 from ebotcazou at gcc dot gnu dot org 2010-09-20 21:30 --- Subject: Bug 42775 Author: ebotcazou Date: Mon Sep 20 21:29:48 2010 New Revision: 164458 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164458 Log: PR rtl-optimization/42775 * cfgrtl.c (re

[Bug middle-end/45712] [4.6 Regression] Segmentation violation when compiling spec source on either x86 or ppc with debugging

2010-09-20 Thread meissner at gcc dot gnu dot org
--- Comment #4 from meissner at gcc dot gnu dot org 2010-09-20 21:26 --- FWIW, updating the source to subversion id 164441 seems to mask the failure on the powerpc, but the x86 still segfaults. I suspect that the bug is not actually fixed, but just doesn't show up at the current time o

[Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208

2010-09-20 Thread pault at gcc dot gnu dot org
--- Comment #12 from pault at gcc dot gnu dot org 2010-09-20 21:23 --- Subject: Bug 45081 Author: pault Date: Mon Sep 20 21:23:38 2010 New Revision: 164457 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164457 Log: 2010-09-20 Paul Thomas PR fortran/45081 * si

[Bug fortran/45648] [4.6 regression] Unnecessary temporary for transpose calls as actual argument.

2010-09-20 Thread pthaugen at gcc dot gnu dot org
--- Comment #4 from pthaugen at gcc dot gnu dot org 2010-09-20 20:45 --- (In reply to comment #2) > Created an attachment (id=21777) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21777&action=view) [edit] > patch restoring the previous behaviour. > Applying this patch restored

[Bug rtl-optimization/45728] ICE: in gen_lowpart_general, at rtlhooks.c:59 at -O1 when comparing union members

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-20 20:41 --- Subject: Bug 45728 Author: jakub Date: Mon Sep 20 20:41:08 2010 New Revision: 164456 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164456 Log: PR rtl-optimization/45728 * expr.c (expand_expr_r

[Bug middle-end/45234] [4.4/4.5/4.6 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #21 from hjl dot tools at gmail dot com 2010-09-20 20:40 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug middle-end/45234] [4.4/4.5/4.6 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-09-20 Thread hjl at gcc dot gnu dot org
--- Comment #20 from hjl at gcc dot gnu dot org 2010-09-20 20:39 --- Subject: Bug 45234 Author: hjl Date: Mon Sep 20 20:39:18 2010 New Revision: 164455 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164455 Log: Make sure that all variable sized adjustments are multiple of prefer

[Bug rtl-optimization/45678] [4.4/4.5 Regression] crash on vector code with -m32 -msse

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #28 from jakub at gcc dot gnu dot org 2010-09-20 20:37 --- Subject: Bug 45678 Author: jakub Date: Mon Sep 20 20:37:10 2010 New Revision: 164454 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164454 Log: PR middle-end/45678 * cfgexpand.c (expand_one_st

[Bug middle-end/45234] [4.4/4.5/4.6 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca

2010-09-20 Thread hjl at gcc dot gnu dot org
--- Comment #19 from hjl at gcc dot gnu dot org 2010-09-20 20:32 --- Subject: Bug 45234 Author: hjl Date: Mon Sep 20 20:32:41 2010 New Revision: 164453 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164453 Log: Make sure that all variable sized adjustments are multiple of prefer

[Bug fortran/45648] [4.6 regression] Unnecessary temporary for transpose calls as actual argument.

2010-09-20 Thread pthaugen at gcc dot gnu dot org
--- Comment #3 from pthaugen at gcc dot gnu dot org 2010-09-20 20:00 --- As Steven mentioned in the mailing list, this did introduce a degradation for cpu2000 benchmark galgel. I'm seeing about -10% on PowerPC. -- pthaugen at gcc dot gnu dot org changed: What|Removed

[Bug target/43746] -fmerge-constants and -fmerge-all-constants don't work at AVR target

2010-09-20 Thread eric dot weddington at atmel dot com
--- Comment #3 from eric dot weddington at atmel dot com 2010-09-20 19:53 --- Reopening this enhancement request. Bug #21018, which this was marked a duplicate of, is now marked as WONTFIX. -- eric dot weddington at atmel dot com changed: What|Removed

[Bug tree-optimization/45733] [4.6 Regression] ICE: verify_stmts failed: invalid conversion in gimple call with -fstrict-overflow -ftree-vectorize

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-09-20 19:50 --- (In reply to comment #2) > Looks like it is caused by revision 164367: > > http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00661.html > Revision 164367 is the cause. Revision 164367 also caused PR 45720. Don't know if th

[Bug lto/45736] [4.6 Regression] ICE: in cgraph_remove_unreachable_nodes, at ipa.c:245 with -flto and attribute((constructor))

2010-09-20 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-20 19:46 --- Created an attachment (id=21850) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21850&action=view) reduced testcase $ gcc -r -nostdlib -O -flto pr45736.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45736

[Bug lto/45736] New: [4.6 Regression] ICE: in cgraph_remove_unreachable_nodes, at ipa.c:245 with -flto and attribute((constructor))

2010-09-20 Thread zsojka at seznam dot cz
Compiler output: $ gcc -r -nostdlib -O -flto testcase.c lto1: internal compiler error: in cgraph_remove_unreachable_nodes, at ipa.c:245 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: /mnt/svn/gcc-trunk/bina

[Bug libstdc++/45711] Building with "--enable-libstdcxx-debug" fails during install

2010-09-20 Thread rwild at gcc dot gnu dot org
--- Comment #13 from rwild at gcc dot gnu dot org 2010-09-20 19:33 --- Subject: Bug 45711 Author: rwild Date: Mon Sep 20 19:33:12 2010 New Revision: 164451 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164451 Log: Fix PR libstdc++/45711. libstdc++-v3/: PR libstdc++/457

[Bug libstdc++/45711] Building with "--enable-libstdcxx-debug" fails during install

2010-09-20 Thread rwild at gcc dot gnu dot org
--- Comment #12 from rwild at gcc dot gnu dot org 2010-09-20 19:23 --- Please try the patch at . Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45711

[Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208

2010-09-20 Thread pault at gcc dot gnu dot org
--- Comment #11 from pault at gcc dot gnu dot org 2010-09-20 18:55 --- Subject: Bug 45081 Author: pault Date: Mon Sep 20 18:55:12 2010 New Revision: 164448 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164448 Log: 2010-09-20 Paul Thomas PR fortran/45081 * si

[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-20 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-09-20 18:51 --- Mine -- jamborm at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug c/43082] ICE in tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2010-09-20 Thread doko at ubuntu dot com
--- Comment #7 from doko at ubuntu dot com 2010-09-20 18:01 --- trunk 20100918 fails with: gcc -g -O0 -c foo.c foo.c: In function 'main': foo.c:4:5: error: void value not ignored as it ought to be foo.c:4:5: error: void value not ignored as it ought to be foo.c:4:7: internal compiler er

[Bug rtl-optimization/45352] ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058

2010-09-20 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-09-20 18:00 --- Created an attachment (id=21849) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21849&action=view) another testcase that doesn't need many flags to reproduce $ gcc -fselective-scheduling2 -fsel-sched-pipelining -funro

[Bug objc/45735] New: ICE in objc_add_method, at objc/objc-act.c:6941

2010-09-20 Thread doko at ubuntu dot com
seen in 4.3, 4.4, 4.5, 4.6, didn't find an existing report: $ gcc -c Fraction.m Fraction.m:9:29: error: expected identifier before ':' token Fraction.m:9:29: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in objc_add_method, at objc/obj

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-09-20 Thread paolo dot carlini at oracle dot com
--- Comment #29 from paolo dot carlini at oracle dot com 2010-09-20 17:41 --- I'm not aware of any singly linked list implementation, to be honest. I know that Dinkumware already uses doubly, and, if I'm not wrong, Howard just moved to it. I'll send you privately the rationale I have fr

[Bug fortran/45438] [4.6 Regression] [OOP] ICE with -fcheck=pointer

2010-09-20 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2010-09-20 17:41 --- Mine (have a patch). -- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug libstdc++/45711] Building with "--enable-libstdcxx-debug" fails during install

2010-09-20 Thread paolo dot carlini at oracle dot com
--- Comment #11 from paolo dot carlini at oracle dot com 2010-09-20 17:35 --- I understand that some such hobbyists have a rather serious paid work ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45711

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-09-20 Thread joaquin at tid dot es
--- Comment #28 from joaquin at tid dot es 2010-09-20 17:34 --- > US 113, ES 2, US 118 / Issue 579 have been closed as NAD, thus > let's figure out how best obtain O(1) in our implementation... Do you have a rationale for the closing of this NB comments? N3133 shows 579 unchanged. I was

[Bug libstdc++/45711] Building with "--enable-libstdcxx-debug" fails during install

2010-09-20 Thread rwild at gcc dot gnu dot org
--- Comment #10 from rwild at gcc dot gnu dot org 2010-09-20 17:31 --- (In reply to comment #9) > Ian, I suppose the cited by Andrew it's you: any more constructive tip? Come on, allow hobbyist helpers a day or two to fix a years-old issue, please. Thanks. -- rwild at gcc dot gnu

[Bug libstdc++/45711] Building with "--enable-libstdcxx-debug" fails during install

2010-09-20 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-09-20 17:28 --- Ian, I suppose the cited by Andrew it's you: any more constructive tip? -- paolo dot carlini at oracle dot com changed: What|Removed |Added -

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-09-20 Thread paolo dot carlini at oracle dot com
--- Comment #27 from paolo dot carlini at oracle dot com 2010-09-20 17:23 --- Unless somebody posts here over the next two/three days or so *concrete* ideas of a different sort, I'm going to simply work on a doubly linked list solution, along the lines of the section "iterator" here: ht

[Bug target/43876] [avr] Improper updating of struct members when written out of order from struct definition

2010-09-20 Thread eric dot weddington at atmel dot com
--- Comment #4 from eric dot weddington at atmel dot com 2010-09-20 17:14 --- AFAIK, fixed in the latest xmega patch, which is still not upstream. -- eric dot weddington at atmel dot com changed: What|Removed |Added ---

[Bug lto/45702] [4.6 Regression] New LTO test failures

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #14 from hjl dot tools at gmail dot com 2010-09-20 17:10 --- One solution is always pass -L to linker even if the directory is known to linker. Gcc always does that for multi-lib. This will make gcc more consistent. It may also allow using system linker with native sysroot

[Bug lto/45702] [4.6 Regression] New LTO test failures

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2010-09-20 16:56 --- Here is the deal: 1. The linker default search paths are /lib, /usr/lib. 2. "ld -r" disables the linker default search paths. 3. Gcc always passes -Lmulti-lib-dir to ld when multi-lib is enabled. On Linux/ia32,

[Bug middle-end/21018] Initializing string literal data improperly marked frame-relative?, should be readonly static const.

2010-09-20 Thread eric dot weddington at atmel dot com
--- Comment #10 from eric dot weddington at atmel dot com 2010-09-20 16:51 --- Closed as WONTFIX. -- eric dot weddington at atmel dot com changed: What|Removed |Added

[Bug debug/45124] No DW_AT_accessibility for public DIEs in DW_TAG_class_type

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-20 16:51 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/45124] No DW_AT_accessibility for public DIEs in DW_TAG_class_type

2010-09-20 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-09-20 16:48 --- Subject: Bug 45124 Author: jakub Date: Mon Sep 20 16:48:29 2010 New Revision: 164442 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164442 Log: PR debug/45124 * dwarf2out.c (add_accessibility_a

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread mikpe at it dot uu dot se
--- Comment #16 from mikpe at it dot uu dot se 2010-09-20 16:37 --- FWIW, exposed on trunk by r160462 (PR44423 fix), backported to 4.5 in r160775. But clearly the issue was latent since the movt patterns were added. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726

[Bug fortran/45438] [4.6 Regression] [OOP] ICE with -fcheck=pointer

2010-09-20 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2010-09-20 16:29 --- Here is a reduced test case: module base_mat_mod type :: base_sparse_mat contains procedure :: get_fmt end type contains function get_fmt(a) result(res) implicit none class(base_sparse_mat),

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #15 from rearnsha at gcc dot gnu dot org 2010-09-20 16:22 --- Subject: Bug 45726 Author: rearnsha Date: Mon Sep 20 16:21:57 2010 New Revision: 164441 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164441 Log: 2010-09-20 Rafael Carre PR target/45726

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #14 from rearnsha at gcc dot gnu dot org 2010-09-20 16:13 --- (In reply to comment #13) > Is there something wrong with the first hunk of the patch (arm_movt) ? > Nothing really. I missed that bit. I think in practice the compiler will never end up matching that pattern

[Bug rtl-optimization/45472] [4.5/4.6 Regression] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2010-09-20 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2010-09-20 16:01 --- Looks like a problem in expand. CCing Matz. -- bonzini at gnu dot org changed: What|Removed |Added

[Bug tree-optimization/45704] [4.5 Regression] load byte instruction is used for volatile int

2010-09-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-20 15:54 --- Subject: Bug 45704 Author: rguenth Date: Mon Sep 20 15:54:03 2010 New Revision: 164439 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164439 Log: 2010-09-20 Richard Guenther PR middle-end/45704

[Bug c++/41437] No access control for classes in template functions

2010-09-20 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-09-20 15:54 --- *** Bug 40843 has been marked as a duplicate of this bug. *** -- redi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/40843] access violation not detected for non dependent qualified enum value

2010-09-20 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-09-20 15:54 --- PR 41437 has a simpler testcase *** This bug has been marked as a duplicate of 41437 *** -- redi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/45605] Missed devirtualization

2010-09-20 Thread hubicka at gcc dot gnu dot org
--- Comment #21 from hubicka at gcc dot gnu dot org 2010-09-20 15:53 --- OK, we now fold the testcase using obj_type_ref folding. We still should do it via vtable lookup and we don't but that is for other PR I guess. -- hubicka at gcc dot gnu dot org changed: What|R

[Bug c++/41437] No access control for classes in template functions

2010-09-20 Thread redi at gcc dot gnu dot org
-- redi at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fai

[Bug c++/45605] Missed devirtualization

2010-09-20 Thread hubicka at gcc dot gnu dot org
--- Comment #20 from hubicka at gcc dot gnu dot org 2010-09-20 15:48 --- Subject: Bug 45605 Author: hubicka Date: Mon Sep 20 15:48:42 2010 New Revision: 164438 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164438 Log: PR tree-optimize/45605 * cgraph.h (const_v

[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code

2010-09-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-20 15:46 --- Of course it is ;) Before pointer-conversions became useless we didn't propagate the invariant address into the OBJ_TYPE_REF expression. We still have useful function-pointer conversions as well, because dropping t

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rafael dot carre at gmail dot com
--- Comment #13 from rafael dot carre at gmail dot com 2010-09-20 15:46 --- Is there something wrong with the first hunk of the patch (arm_movt) ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #12 from rearnsha at gcc dot gnu dot org 2010-09-20 15:36 --- Fixed in 4.5.3 and trunk. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #11 from rearnsha at gcc dot gnu dot org 2010-09-20 15:27 --- Subject: Bug 45726 Author: rearnsha Date: Mon Sep 20 15:27:13 2010 New Revision: 164437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164437 Log: 2010-09-20 Rafael Carre PR target/45726

[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-09-20 15:27 --- It is caused by revision 161655: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg6.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #10 from rearnsha at gcc dot gnu dot org 2010-09-20 15:25 --- Subject: Bug 45726 Author: rearnsha Date: Mon Sep 20 15:25:44 2010 New Revision: 164436 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164436 Log: 2010-09-20 Rafael Carre PR target/45726

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
-- rearnsha at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rearnsha at gcc dot gnu dot |dot org

[Bug target/45726] Thumb2 instruction emitted for incompatible CPU

2010-09-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #9 from rearnsha at gcc dot gnu dot org 2010-09-20 15:20 --- Must also be present (even if latent) on 4.5. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/45472] [4.5/4.6 Regression] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2010-09-20 Thread amonakov at gcc dot gnu dot org
--- Comment #4 from amonakov at gcc dot gnu dot org 2010-09-20 14:49 --- A small testcase to illustrate the problem with volatile fields. //---8<--- struct vv {volatile long a, b;} vv1, vv2; int foo() { vv1 = vv2; } //---8<--- gcc/cc1 -O2 -frename-registers -fschedule-insns2 vol.c

  1   2   >