[Bug c++/49808] GCC adds an address-of somewhere!

2011-07-29 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49808 --- Comment #1 from Jason Merrill 2011-07-29 07:10:25 UTC --- Author: jason Date: Fri Jul 29 07:10:21 2011 New Revision: 176916 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176916 Log: PR c++/49808 * pt.c (tsubst) [TEMPLATE_PARM

[Bug fortran/31067] MINLOC should sometimes be inlined (gas_dyn is sooooo sloooow)

2011-07-29 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31067 --- Comment #46 from Tobias Burnus 2011-07-29 07:12:47 UTC --- (In reply to comment #45) [Commit to inline MINLOC/MAXLOC for a rank-1 array, which returns a single-element rank-1 array.] On my ~5 year old Athlon64 x2, I get with "-Ofast -march=

[Bug c++/49808] GCC adds an address-of somewhere!

2011-07-29 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49808 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/49896] New: undefined reference to static const integral member whose address is not used, for some values of the constant

2011-07-29 Thread matthieu.imb...@ens-lyon.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49896 Summary: undefined reference to static const integral member whose address is not used, for some values of the constant Product: gcc Version: 4.6.1 Status: UNCONFI

[Bug c/49897] New: nesting lastprivate gives incorrect result

2011-07-29 Thread markflorisson88 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 Summary: nesting lastprivate gives incorrect result Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassig...@g

[Bug c/49898] New: nested reduction on #pragma omp for gives incorrect result

2011-07-29 Thread markflorisson88 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49898 Summary: nested reduction on #pragma omp for gives incorrect result Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: major Priority: P3 Component

[Bug rtl-optimization/49799] gcc arm generates illegal sbfx instruction

2011-07-29 Thread carrot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 --- Comment #10 from carrot at gcc dot gnu.org 2011-07-29 08:36:11 UTC --- Author: carrot Date: Fri Jul 29 08:35:59 2011 New Revision: 176917 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176917 Log: PR rtl-optimization/49799 * co

[Bug tree-optimization/47407] gcc.dg/tree-ssa/pr42585.c FAILs on Tru64 UNIX V5.1B

2011-07-29 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47407 --- Comment #4 from Rainer Orth 2011-07-29 09:29:14 UTC --- Author: ro Date: Fri Jul 29 09:29:10 2011 New Revision: 176919 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176919 Log: PR tree-optimization/47407 * gcc.dg/tree-ssa/pr4

[Bug target/49313] Inefficient libgcc implementations for avr

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49313 --- Comment #9 from Georg-Johann Lay 2011-07-29 09:33:58 UTC --- Author: gjl Date: Fri Jul 29 09:33:54 2011 New Revision: 176920 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176920 Log: PR target/49313 * config/avr/libgcc.S (__

[Bug tree-optimization/47407] gcc.dg/tree-ssa/pr42585.c FAILs on Tru64 UNIX V5.1B

2011-07-29 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47407 Rainer Orth changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug target/49313] Inefficient libgcc implementations for avr

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49313 Georg-Johann Lay changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug middle-end/49893] [4.7 Regression] -O3 generates wrong code for volatile

2011-07-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49893 --- Comment #2 from Richard Guenther 2011-07-29 09:54:29 UTC --- Author: rguenth Date: Fri Jul 29 09:54:23 2011 New Revision: 176921 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176921 Log: 2011-07-29 Richard Guenther PR tree-op

[Bug middle-end/49893] [4.7 Regression] -O3 generates wrong code for volatile

2011-07-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49893 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49896] undefined reference to static const integral member whose address is not used, for some values of the constant

2011-07-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49896 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49894] Uniform initialization in constructor (C++0x)

2011-07-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/49891] [4.7 regression] ICE in redirect_jump_1

2011-07-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49891 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49894] Uniform initialization in constructor (C++0x)

2011-07-29 Thread d.v.a at ngs dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894 --- Comment #3 from __vic 2011-07-29 10:13:16 UTC --- > test.cpp:7:84: error: could not convert '{{0, 0}, 0, "", 0}' from > '' to 'pthread_cond_t' > Initializer is: {{0, 0}, 0, "", 0}

[Bug c++/49894] Uniform initialization in constructor (C++0x)

2011-07-29 Thread d.v.a at ngs dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49894 --- Comment #4 from __vic 2011-07-29 10:17:35 UTC --- Created attachment 24861 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24861 Preprocessor output

[Bug middle-end/49899] New: ICE when redeclaring a static function as weak

2011-07-29 Thread nickc at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49899 Summary: ICE when redeclaring a static function as weak Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo

[Bug c++/49896] undefined reference to static const integral member whose address is not used, for some values of the constant

2011-07-29 Thread matthieu.imb...@ens-lyon.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49896 --- Comment #2 from Matthieu Imbert 2011-07-29 10:37:33 UTC --- (In reply to comment #1) > You lack a definition of test::version. C++ standard section 9.4.2 states: If a 'static' data member is of 'const' integral or 'const' enumeral type,

[Bug rtl-optimization/47958] [x32] reload generates invalid address reference

2011-07-29 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47958 Uros Bizjak changed: What|Removed |Added Target||x32 Status|UNCONFIRMED

[Bug target/49687] [4.6 Regression][avr] Missed optimization for widening MUL

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49687 --- Comment #6 from Georg-Johann Lay 2011-07-29 11:27:45 UTC --- Author: gjl Date: Fri Jul 29 11:27:39 2011 New Revision: 176923 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176923 Log: PR target/49687 * config/avr/avr.md (muls

[Bug target/47908] attribute((optimize(2))) causes ICE in m68k_sched_issue_rate

2011-07-29 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47908 --- Comment #7 from Mikael Pettersson 2011-07-29 11:44:34 UTC --- Created attachment 24863 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24863 fix for gcc-4.5.3 and gcc-4.4.6 A patch for trunk and gcc-4.6.1 has been posted: http://gcc.gnu.

[Bug rtl-optimization/49900] New: [4.7 regression] ICE in advance_target_bb, at sched-ebb.c:691

2011-07-29 Thread sch...@linux-m68k.org
Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: sch...@linux-m68k.org CC: ber...@codesourcery.com Target: ia64-*-* /bin/sh ./libtool --tag=GCJ --mode=compile /usr/local/gcc/gcc-20110729/Build/./gcc/gcj -B/usr/local/gcc/gcc

[Bug target/49687] [4.6 Regression][avr] Missed optimization for widening MUL

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49687 --- Comment #7 from Georg-Johann Lay 2011-07-29 11:49:30 UTC --- With this milestone the work for better support for widening multiplication is finished -- fir the case when MUL instruction is available. Similar work for the case when no hardwar

[Bug rtl-optimization/49900] [4.7 regression] ICE in advance_target_bb, at sched-ebb.c:691

2011-07-29 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49900 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment #1

[Bug middle-end/49806] [4.7 Regression] FAIL: gcc.dg/tree-ssa/vrp47.c

2011-07-29 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49806 Kai Tietz changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at gcc

[Bug rtl-optimization/49900] [4.7 regression] ICE in advance_target_bb, at sched-ebb.c:691

2011-07-29 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49900 --- Comment #2 from Andreas Schwab 2011-07-29 12:21:12 UTC --- I was waiting for an update.

[Bug c++/47453] Various non-conforming behaviors with braced-init-list initialization

2011-07-29 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47453 --- Comment #5 from Johannes Schaub 2011-07-29 12:23:35 UTC --- (In reply to comment #4) > struct A { int a[2]; A():a({1, 2}) { } }; > > Should be valid. Example: > > class cond_variable > { > ::pthread_cond_t cond; > public: > constexp

[Bug other/49892] Error in configure test xgcc in x86_64-apple-darwin11.0.0/libgcc

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49892 Jack Howarth changed: What|Removed |Added CC||howarth at nitro dot |

[Bug rtl-optimization/49900] [4.7 regression] ICE in advance_target_bb, at sched-ebb.c:691

2011-07-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49900 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.7.0

[Bug c++/49896] undefined reference to static const integral member whose address is not used, for some values of the constant

2011-07-29 Thread matthieu.imb...@ens-lyon.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49896 Matthieu Imbert changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug fortran/49901] New: gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49901 Summary: gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 C

[Bug debug/49887] [4.7 regression] .debug_macro breaks many Solaris/SPARC tests

2011-07-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-29 12:58:25 UTC --- > --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> 2011-07-28 14:52:35 UTC --- >> --- Comment #1 from Jakub Jelinek 2011-07-28 >> 14:45:1

[Bug fortran/49901] gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49901 --- Comment #1 from Jack Howarth 2011-07-29 13:05:08 UTC --- The first failure, which is an ICE,... FAIL: gfortran.dg/debug/pr35154-dwarf2.f -gdwarf-2 -g3 (internal compiler error) appears as... [MacPro:gcc/testsuite/gfortran] root# /sw/src/fi

[Bug debug/49887] [4.7 regression] .debug_macro breaks many Solaris/SPARC tests

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887 --- Comment #4 from Jakub Jelinek 2011-07-29 13:06:13 UTC --- Emit that in targetm.asm_out.file_end () instead?

[Bug c/7652] -Wswitch-break : Warn if a switch case falls through

2011-07-29 Thread daniel.marjamaki at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652 Daniel Marjamäki changed: What|Removed |Added CC||daniel.marjamaki at gmail

[Bug c++/49902] New: [C++0x] ICE in gimple_expand_cfg when initializer_list constructed using constructor parameters.

2011-07-29 Thread fuchsia.groan at virgin dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49902 Summary: [C++0x] ICE in gimple_expand_cfg when initializer_list constructed using constructor parameters. Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal

x86_64: undefined reference to `typeinfo for __int128'

2011-07-29 Thread Ryszard Kabatek
Hello, a compilation of the code below succeeds, but the linking fails with the message: undefined reference to `typeinfo for __int128' Tested with (I got the same error with older versions of GCC): gcc version 4.4.5 (Debian 4.4.5-8) Regards, RK // x.cxx #include #include using namespace s

[Bug target/47715] [x32] TLS doesn't work

2011-07-29 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715 --- Comment #16 from uros at gcc dot gnu.org 2011-07-29 13:48:45 UTC --- Author: uros Date: Fri Jul 29 13:48:40 2011 New Revision: 176924 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176924 Log: PR target/47715 * config/i386/i386.

[Bug target/47715] [x32] TLS doesn't work

2011-07-29 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715 Uros Bizjak changed: What|Removed |Added Target||x32 Status|UNCONFIRMED

[Bug c++/49902] [C++0x] ICE in gimple_expand_cfg when initializer_list constructed using constructor parameters.

2011-07-29 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49902 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug target/49881] [AVR] Inefficient stack manipulation around calls

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49881 --- Comment #7 from Georg-Johann Lay 2011-07-29 14:39:31 UTC --- (In reply to comment #4) > Would one of you be so kind as to do a full test run? > I don't have avr-libc et al set up on this machine... Just running tests without regenerating li

[Bug middle-end/49629] [4.7 Regression] ICE: in df_refs_verify, at df-scan.c

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49629 Georg-Johann Lay changed: What|Removed |Added Target|avr |avr, powerpc --- Comment #4 from Georg

[Bug target/49903] New: AVR: Redundant comparisons in binary-seach switch/case expansion

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49903 Summary: AVR: Redundant comparisons in binary-seach switch/case expansion Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: n

[Bug target/49903] [avr] Redundant comparisons in binary-search switch/case expansion

2011-07-29 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49903 Eric Weddington changed: What|Removed |Added Summary|AVR: Redundant comparisons |[avr] Redundant comparisons

[Bug middle-end/49897] nesting lastprivate gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to work|

[Bug middle-end/49898] [4.5/4.6/4.7 Regression] nested reduction on #pragma omp for gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49898 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug middle-end/49897] [4.5/4.6/4.7 Regression] nesting lastprivate gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 --- Comment #2 from Jakub Jelinek 2011-07-29 15:40:20 UTC --- *** Bug 49898 has been marked as a duplicate of this bug. ***

[Bug middle-end/49897] [4.5/4.6/4.7 Regression] nesting lastprivate gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 --- Comment #3 from Jakub Jelinek 2011-07-29 15:41:36 UTC --- Created attachment 24865 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24865 gcc47-pr49897.patch Fix.

[Bug target/49860] [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49860 --- Comment #10 from hjl at gcc dot gnu.org 2011-07-29 15:56:38 UTC --- Author: hjl Date: Fri Jul 29 15:56:36 2011 New Revision: 176928 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176928 Log: Rename gcc.target/i386/pr47446-3.c to gcc.t

[Bug target/49832] [x32] too many memory references for `lea'

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49832 --- Comment #4 from hjl at gcc dot gnu.org 2011-07-29 16:00:48 UTC --- Author: hjl Date: Fri Jul 29 16:00:41 2011 New Revision: 176932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176932 Log: Rewrite x86 lea support for x32. 2011-07-26

[Bug target/49833] [x32] PIC doesn't work

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #22 from hjl at gcc dot gnu.org 2011-07-29 16:00:48 UTC --- Author: hjl Date: Fri Jul 29 16:00:41 2011 New Revision: 176932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176932 Log: Rewrite x86 lea support for x32. 2011-07-2

[Bug target/47381] [x32] internal compiler error: in gen_lowpart_general, at rtlhooks.c:59

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47381 --- Comment #6 from hjl at gcc dot gnu.org 2011-07-29 16:00:45 UTC --- Author: hjl Date: Fri Jul 29 16:00:41 2011 New Revision: 176932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176932 Log: Rewrite x86 lea support for x32. 2011-07-26

[Bug middle-end/49897] [4.5/4.6/4.7 Regression] nesting lastprivate gives incorrect result

2011-07-29 Thread markflorisson88 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 --- Comment #4 from markflorisson88 2011-07-29 16:05:50 UTC --- (In reply to comment #3) > Created attachment 24865 [details] > gcc47-pr49897.patch > > Fix. Wow, thanks a lot for the quick fix!

[Bug debug/49901] gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin

2011-07-29 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49901 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug debug/49887] [4.7 regression] .debug_macro breaks many Solaris/SPARC tests

2011-07-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49887 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-29 16:10:04 UTC --- > --- Comment #4 from Jakub Jelinek 2011-07-29 > 13:06:13 UTC --- > Emit that in targetm.asm_out.file_end () instead? Seems to work according to a quick test run

[Bug target/49903] [avr] Redundant comparisons in binary-search switch/case expansion

2011-07-29 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49903 --- Comment #2 from Georg-Johann Lay 2011-07-29 16:11:12 UTC --- (In reply to comment #1) > Johann, > Would some type of peephole optimization help out on this? RTL peephole won't work because they operate just inside basic blocks. Don't know t

[Bug target/47372] [x32] internal compiler error: in simplify_subreg, at simplify-rtx.c:5222

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47372 --- Comment #8 from hjl at gcc dot gnu.org 2011-07-29 16:43:28 UTC --- Author: hjl Date: Fri Jul 29 16:43:25 2011 New Revision: 176937 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176937 Log: Call simplify_gen_subreg with mode of x. 20

[Bug target/47715] [x32] TLS doesn't work

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715 --- Comment #18 from hjl at gcc dot gnu.org 2011-07-29 16:44:11 UTC --- Author: hjl Date: Fri Jul 29 16:44:07 2011 New Revision: 176938 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176938 Log: Remove PTR64. 2011-07-28 H.J. Lu P

[Bug target/47715] [x32] TLS doesn't work

2011-07-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715 --- Comment #19 from hjl at gcc dot gnu.org 2011-07-29 16:56:03 UTC --- Author: hjl Date: Fri Jul 29 16:55:59 2011 New Revision: 176940 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176940 Log: Revert "Use ptr_mode instead of Pmode with

[Bug fortran/49885] [4.6/4.7 Regression] Segmentation fault when writing to an automatic character array

2011-07-29 Thread domob at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49885 --- Comment #6 from Daniel Kraft 2011-07-29 17:00:12 UTC --- For the record, with the original test case and -fdump-tree-original, I get: s (integer(kind=4) & restrict nb) { character(kind=1) bad_rec[1][1:.bad_rec]; integer(kind=4) .bad_rec;

[Bug middle-end/49898] [4.5/4.6/4.7 Regression] nested reduction on #pragma omp for gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49898 --- Comment #2 from Jakub Jelinek 2011-07-29 17:45:46 UTC --- Author: jakub Date: Fri Jul 29 17:45:42 2011 New Revision: 176945 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176945 Log: PR middle-end/49897 PR middle-end/49898

[Bug middle-end/49897] [4.5/4.6/4.7 Regression] nesting lastprivate gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 --- Comment #5 from Jakub Jelinek 2011-07-29 17:45:46 UTC --- Author: jakub Date: Fri Jul 29 17:45:42 2011 New Revision: 176945 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176945 Log: PR middle-end/49897 PR middle-end/49898

[Bug middle-end/49898] [4.5/4.6/4.7 Regression] nested reduction on #pragma omp for gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49898 --- Comment #3 from Jakub Jelinek 2011-07-29 17:48:46 UTC --- Author: jakub Date: Fri Jul 29 17:48:42 2011 New Revision: 176946 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176946 Log: PR middle-end/49897 PR middle-end/49898

[Bug middle-end/49897] [4.5/4.6/4.7 Regression] nesting lastprivate gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 --- Comment #6 from Jakub Jelinek 2011-07-29 17:48:45 UTC --- Author: jakub Date: Fri Jul 29 17:48:42 2011 New Revision: 176946 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176946 Log: PR middle-end/49897 PR middle-end/49898

[Bug c++/49896] undefined reference to static const integral member whose address is not used, for some values of the constant

2011-07-29 Thread harald at gigawatt dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49896 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment #

[Bug middle-end/49897] [4.5 Regression] nesting lastprivate gives incorrect result

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897 Jakub Jelinek changed: What|Removed |Added Known to work||4.6.2, 4.7.0 Summary|[4.5/4.6/

[Bug tree-optimization/49749] Reassociation rank algorithm does not include all non-NULL operands

2011-07-29 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49749 --- Comment #15 from William J. Schmidt 2011-07-29 18:40:26 UTC --- Author: wschmidt Date: Fri Jul 29 18:40:21 2011 New Revision: 176948 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176948 Log: 2011-07-29 Bill Schmidt PR tree-op

[Bug target/49904] New: Internal error with multiplication and -msoft-float

2011-07-29 Thread mikulas at artax dot karlin.mff.cuni.cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49904 Summary: Internal error with multiplication and -msoft-float Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedT

[Bug target/46468] enabling -fomit-frame-pointer by default breaks Wine

2011-07-29 Thread jacek at codeweavers dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46468 Jacek Caban changed: What|Removed |Added CC||jacek at codeweavers dot

[Bug target/49821] [4.6 regression] ICE in dwarf2out_cfi_begin_epilogue, at dwarf2out.c:3015

2011-07-29 Thread aurelien at aurel32 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49821 --- Comment #1 from Aurelien Jarno 2011-07-29 19:15:19 UTC --- Created attachment 24866 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24866 Testcase Here is a reduced testcase, the bug can be reproduced with: g++ -c -fvisibility=hidden -g

[Bug c/49905] New: Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2011-07-29 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 Summary: Better sanity checking on sprintf src & dest to produce warning for dodgy code ? Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Pri

[Bug tree-optimization/23286] missed fully redundant expression

2011-07-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23286 --- Comment #33 from Andrew Pinski 2011-07-29 20:11:29 UTC --- (In reply to comment #26) > Created attachment 19634 [details] > updated patch This patch fails on the trunk now with: /data/src/gcc-cavium/gcc-4.6-upgrade/src/libstdc++-v3/src/strstr

[Bug debug/49906] New: wrong .debug_line for -O0 -g prologue skip

2011-07-29 Thread jan.kratochvil at redhat dot com
: unassig...@gcc.gnu.org ReportedBy: jan.kratoch...@redhat.com Target: x86_64-unknown-linux-gnu FAIL: gcc (GCC) 4.4.7 20110729 (prerelease) FAIL: gcc (GCC) 4.5.4 20110729 (prerelease) FAIL: gcc (GCC) 4.6.2 20110729 (prerelease) FAIL: gcc (GCC) 4.7.0 20110728 (experimental) -g

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2011-07-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f

[Bug bootstrap/49907] New: lto-plugin -Wall in stage1

2011-07-29 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49907 Summary: lto-plugin -Wall in stage1 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.

[Bug bootstrap/49908] New: -lm missing after -lmpc

2011-07-29 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908 Summary: -lm missing after -lmpc Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org

[Bug bootstrap/49908] -lm missing after -lmpc

2011-07-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908 --- Comment #1 from Andrew Pinski 2011-07-29 21:59:32 UTC --- Normally most compilers inline cimag and creal. Seems weird that Sun's compiler does not.

[Bug bootstrap/49908] -lm missing after -lmpc

2011-07-29 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908 --- Comment #2 from Marc Glisse 2011-07-29 22:09:21 UTC --- (In reply to comment #1) > Normally most compilers inline cimag and creal. Seems weird that Sun's > compiler does not. It does on a trivial testcase. I'll try to see why it doesn't in

[Bug bootstrap/49908] -lm missing after -lmpc

2011-07-29 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908 --- Comment #3 from Marc Glisse 2011-07-29 22:18:52 UTC --- (In reply to comment #2) > > Normally most compilers inline cimag and creal. Seems weird that Sun's > > compiler does not. > It does on a trivial testcase. I'll try to see why it doesn'

[Bug c++/49867] [C++0x] ICE on lambda inside switch with case labels in the lambda

2011-07-29 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49867 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/49892] Error in configure test xgcc in x86_64-apple-darwin11.0.0/libgcc

2011-07-29 Thread danp57 at optonline dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49892 --- Comment #2 from Daniel E. Platt 2011-07-29 23:09:26 UTC --- Thanks! This works. Best, Dan On Jul 29, 2011, at 8:44 AM, howarth at nitro dot med.uc.edu wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49892 > > Jack Howarth change

[Bug target/49909] New: FSF gcc 4.6.1 fails to bootstrap on Core Solo/Core Duo

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49909 Summary: FSF gcc 4.6.1 fails to bootstrap on Core Solo/Core Duo Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assign

[Bug target/49909] FSF gcc 4.6.1 fails to bootstrap on Core Solo/Core Duo

2011-07-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49909 --- Comment #1 from Andrew Pinski 2011-07-29 23:35:13 UTC --- Use --disable-multilib.

[Bug target/49909] FSF gcc 4.6.1 fails to bootstrap on Core Solo/Core Duo

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49909 --- Comment #2 from Jack Howarth 2011-07-29 23:35:46 UTC --- Created attachment 24867 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24867 config.log file from x86_64 multilib directory on Core Duo (non-EMT64)

[Bug target/49909] FSF gcc 4.6.1 fails to bootstrap on Core Solo/Core Duo

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49909 --- Comment #3 from Jack Howarth 2011-07-29 23:43:12 UTC --- This section of configure appears unprepared for the possibility of compiling on i386-apple-darwin* with a multilib that can't be executed on the non-EMT64 cpu... # Check that the com

[Bug c++/49910] New: "internal compiler error: in redirect_jump, at jump.c:1485" when build ppl-0.11.2

2011-07-29 Thread i.nixman at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49910 Summary: "internal compiler error: in redirect_jump, at jump.c:1485" when build ppl-0.11.2 Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priorit

[Bug target/49909] FSF gcc 4.6.1 fails to bootstrap on Core Solo/Core Duo

2011-07-29 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49909 --- Comment #4 from Jack Howarth 2011-07-30 02:58:20 UTC --- (In reply to comment #1) > Use --disable-multilib. Not an option for us on fink since the same packaging script has to both list the built shared libraries and run on both non-EMT64 an

[Bug c++/49867] [C++0x] ICE on lambda inside switch with case labels in the lambda

2011-07-29 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49867 --- Comment #2 from Jason Merrill 2011-07-30 06:22:09 UTC --- Author: jason Date: Sat Jul 30 06:22:06 2011 New Revision: 176958 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176958 Log: PR c++/49867 * parser.c (cp_parser_lambda_e

[Bug c++/49867] [C++0x] ICE on lambda inside switch with case labels in the lambda

2011-07-29 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49867 Jason Merrill changed: What|Removed |Added Keywords||ice-on-invalid-code Status|AS