[Bug c++/41933] [c++0x] lambdas and variadic templates don't work together

2012-03-24 Thread jeremy at quiescent dot us
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41933 --- Comment #6 from Jeremy W 2012-03-25 05:47:37 UTC --- Created attachment 26977 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26977 delegate implementation using a lambda. This doesn't compile.

[Bug c++/41933] [c++0x] lambdas and variadic templates don't work together

2012-03-24 Thread jeremy at quiescent dot us
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41933 --- Comment #7 from Jeremy W 2012-03-25 05:48:29 UTC --- Created attachment 26978 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26978 delegate implementation not using a lambda. This does compile.

[Bug tree-optimization/52705] Loop optimization failure with -O2 versus -O1

2012-03-24 Thread pinskia at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52705 --- Comment #1 from pinskia at gmail dot com 2012-03-25 05:12:44 UTC --- You are volating c/c++ aliasing rules. Use memcpy or -fno-strict-aliasing . Sent from my Palm Pre on AT&T On Mar 24, 2012 21:27, veiokej at gmail dot com

[Bug tree-optimization/52705] New: Loop optimization failure with -O2 versus -O1

2012-03-24 Thread veiokej at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52705 Bug #: 52705 Summary: Loop optimization failure with -O2 versus -O1 Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/52688] static local variable can accessed from local class of function template

2012-03-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug tree-optimization/50021] -Wsuggest-attribute=pure makes obviously-incorrect suggestion

2012-03-24 Thread bruno at clisp dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50021 bruno at clisp dot org changed: What|Removed |Added CC||bruno at clisp dot org --- Commen

[Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope

2012-03-24 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645 --- Comment #8 from dave.anglin at bell dot net 2012-03-24 23:40:03 UTC --- On 21-Mar-12, at 11:04 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > Ok, but at least struct sockaddr_in6 is present in/from in.h>, > otherwise the HAVE_INET6 configure

[Bug tree-optimization/47237] [4.5 Regression] builtin_apply_args broken WRT local ABI changes.

2012-03-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47237 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|hubicka at gcc dot g

[Bug c/28744] externally_visible attribute not effective with prior declaration of symbol.

2012-03-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28744 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug lto/51663] LTO does not reclaim comdat-local statics

2012-03-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51663 --- Comment #6 from Jan Hubicka 2012-03-24 21:39:16 UTC --- OK, this should regularize the situation somewhat. We handle the -O0/-fno-toplevel-reorder semantics early at finalization time and thus we don't care about effect of -fwhole-program and

[Bug c++/40752] -Wconversion generates false warnings for operands not larger than target type

2012-03-24 Thread DeusExSophismata at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752 --- Comment #21 from David Stone 2012-03-24 21:25:08 UTC --- Why was this patch rejected, and is there a way to improve it so that obviously safe cases (such as PR52703) are not warned about without having to specify a '-Wno-' option? Yes, accor

[Bug middle-end/52704] thunk referenced in discarded section when combining -flto -ftree-vectorize -fipa-cp-clone on Debian/SPARC

2012-03-24 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52704 --- Comment #1 from Matt Hargett 2012-03-24 21:12:21 UTC --- Created attachment 26975 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26975 save-temps output from /tmp and linking dir

[Bug lto/51663] LTO does not reclaim comdat-local statics

2012-03-24 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51663 --- Comment #5 from Jan Hubicka 2012-03-24 21:07:34 UTC --- The resolution info seems to be right, unlike the aforementioned comment. d: availability:overwritable (asm: _ZZN1C1mEvE1d) needed analyzed finalized externally_visible prevailing_def_i

[Bug target/51345] [avr] Devices with 8-bit SP need their own multilib(s)

2012-03-24 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51345 Georg-Johann Lay changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug lto/51663] LTO does not reclaim comdat-local statics

2012-03-24 Thread hubicka at gcc dot gnu.org
t; .section.text.startup,"ax",@progbits .p2align 4,,15 .globl main .type main, @function main: .LFB0: .cfi_startproc xorl%eax, %eax ret .cfi_endproc .LFE0: .size main, .-main .ident "GCC:

[Bug middle-end/52704] New: thunk referenced in discarded section when combining -flto -ftree-vectorize -fipa-cp-clone on Debian/SPARC

2012-03-24 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52704 Bug #: 52704 Summary: thunk referenced in discarded section when combining -flto -ftree-vectorize -fipa-cp-clone on Debian/SPARC Classification: Unclassified Product: gcc Versio

[Bug target/52610] mpfr fails to compile when specifying CFLAGS="-O3 -mcpu=leon"

2012-03-24 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52610 --- Comment #6 from Matt Hargett 2012-03-24 20:20:42 UTC --- Great. I verified the fix yesterday. Thanks!

[Bug libstdc++/52689] static linking with libstdc++ fails

2012-03-24 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689 --- Comment #5 from Markus Trippelsdorf 2012-03-24 20:20:54 UTC --- It looks like a linker bug. I was able to reproduce the issue with Fedora17. $ ld -v GNU ld version 2.22.52.0.1-10.fc17 20120131 $ g++ x.cc -static-libstdc++ /usr/bin/ld: a.ou

[Bug c++/40752] -Wconversion generates false warnings for operands not larger than target type

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752 Manuel López-Ibáñez changed: What|Removed |Added CC||DeusExSophismata at gmail

[Bug c++/52703] -Wsign-conversion warns for unsigned short promoted to int and assigned to unsigned

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52703 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/50992] Wconversion does not handle complex type conversions

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50992 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956 Manuel López-Ibáñez changed: What|Removed |Added CC||bratsinot at gmail dot com --- Comm

[Bug target/52610] mpfr fails to compile when specifying CFLAGS="-O3 -mcpu=leon"

2012-03-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52610 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/52610] mpfr fails to compile when specifying CFLAGS="-O3 -mcpu=leon"

2012-03-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52610 --- Comment #4 from Eric Botcazou 2012-03-24 18:48:00 UTC --- Author: ebotcazou Date: Sat Mar 24 18:47:55 2012 New Revision: 185766 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185766 Log: PR target/52610 * config/sparc/sparc.h

[Bug target/52610] mpfr fails to compile when specifying CFLAGS="-O3 -mcpu=leon"

2012-03-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52610 --- Comment #3 from Eric Botcazou 2012-03-24 18:47:43 UTC --- Author: ebotcazou Date: Sat Mar 24 18:47:38 2012 New Revision: 185765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185765 Log: PR target/52610 * config/sparc/sparc.h

[Bug middle-end/52656] [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs

2012-03-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52656 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/52656] [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs

2012-03-24 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52656 --- Comment #2 from Eric Botcazou 2012-03-24 18:42:29 UTC --- Author: ebotcazou Date: Sat Mar 24 18:42:24 2012 New Revision: 185764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185764 Log: PR target/52656 * config/sparc/sparc.c

[Bug fortran/52668] [4.7/4.8 Regression] Incorrect unused warning for USE associating variable in common block

2012-03-24 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52668 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at

[Bug fortran/52701] [4.8 Regression] 416.gamess in SPEC CPU 2006 failed to build

2012-03-24 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52701 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/52703] New: -Wsign-conversion warns for unsigned short promoted to int and assigned to unsigned

2012-03-24 Thread DeusExSophismata at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52703 Bug #: 52703 Summary: -Wsign-conversion warns for unsigned short promoted to int and assigned to unsigned Classification: Unclassified Product: gcc Version: 4.6.2 Sta

[Bug libstdc++/52702] New: [C++11] std::is_trivially_destructible is missing

2012-03-24 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52702 Bug #: 52702 Summary: [C++11] std::is_trivially_destructible is missing Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug target/52698] -maddress-mode=long doesn't work

2012-03-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52698 --- Comment #3 from H.J. Lu 2012-03-24 16:59:17 UTC --- (In reply to comment #2) > Created attachment 26974 [details] > A patch > > I am testing this patch with > This patch passes GCC testsuite as well as glibc build/test with both -maddress-

[Bug c++/49152] Unhelpful diagnostic for iterator dereference

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49152 Manuel López-Ibáñez changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Commen

[Bug c++/52688] static local variable can accessed from local class of function template

2012-03-24 Thread sir_nawaz959 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688 --- Comment #3 from Sarfaraz Nawaz 2012-03-24 15:25:22 UTC --- (In reply to comment #2) > http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition Jonathan, that is a different case. A static (const or otherwise) member of a cl

[Bug target/52698] -maddress-mode=long doesn't work

2012-03-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52698 --- Comment #2 from H.J. Lu 2012-03-24 15:20:06 UTC --- Created attachment 26974 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26974 A patch I am testing this patch with diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a

[Bug c++/52688] static local variable can accessed from local class of function template

2012-03-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52688 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug fortran/52701] New: [4.8 Regression] 416.gamess in SPEC CPU 2006 failed to build

2012-03-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52701 Bug #: 52701 Summary: [4.8 Regression] 416.gamess in SPEC CPU 2006 failed to build Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug middle-end/52640] [4.8 Regression] performance bottleneck: gcc/tree.c;value_member

2012-03-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 Steven Bosscher changed: What|Removed |Added Known to work||4.5.5, 4.6.4, 4.7.1 Target Milestone|

[Bug middle-end/52640] [4.5/4.6/4.7/4.8 Regression] performance bottleneck: gcc/tree.c;value_member

2012-03-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #13 from Steven Bosscher 2012-03-24 13:48:51 UTC --- Author: steven Date: Sat Mar 24 13:48:35 2012 New Revision: 185759 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185759 Log: gcc/ PR middle-end/52640 * varasm.c: In

[Bug middle-end/52640] [4.5/4.6/4.7/4.8 Regression] performance bottleneck: gcc/tree.c;value_member

2012-03-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #12 from Steven Bosscher 2012-03-24 13:47:51 UTC --- Author: steven Date: Sat Mar 24 13:47:46 2012 New Revision: 185758 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185758 Log: gcc/ PR middle-end/52640 * varasm.c: In

[Bug middle-end/52640] [4.5/4.6/4.7/4.8 Regression] performance bottleneck: gcc/tree.c;value_member

2012-03-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52640 --- Comment #11 from Steven Bosscher 2012-03-24 13:46:42 UTC --- Author: steven Date: Sat Mar 24 13:46:33 2012 New Revision: 185757 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185757 Log: gcc/ PR middle-end/52640 * varasm.c: In

[Bug regression/52696] [4.6 Regression]: g++.dg/tree-ssa/pr44706.C scan-tree-dump-not fnsplit "Splitting function"

2012-03-24 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52696 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #1

[Bug libitm/52695] libitm/config/x86/cacheline.h: '__m64' does not name a type

2012-03-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug bootstrap/52700] New: libjava configure fails on --enable-symvers=gnu-versioned-namespace.

2012-03-24 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52700 Bug #: 52700 Summary: libjava configure fails on --enable-symvers=gnu-versioned-namespace. Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRME

[Bug libitm/52695] libitm/config/x86/cacheline.h: '__m64' does not name a type

2012-03-24 Thread ncahill_alt at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 --- Comment #4 from ncahill_alt at yahoo dot com 2012-03-24 10:18:15 UTC --- (In reply to comment #3) > >--enable-bootstrap \ > > Can you try without that? I get the same error and the same workaround allows the build to complete.

[Bug c/51294] spurious warning from -Wconversion in C and C++ in conditional expressions

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51294 Manuel López-Ibáñez changed: What|Removed |Added CC||DeusExSophismata at gmail

[Bug c++/52697] -Wsign-conversion warns for obviously correct code with implicit promotion to int

2012-03-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52697 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/52698] -maddress-mode=long doesn't work

2012-03-24 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52698 Uros Bizjak changed: What|Removed |Added Target|x86-64 |x32 Status|UNCONFIRMED

[Bug libstdc++/52699] infinite loop generated with -O0

2012-03-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 Andrew Pinski changed: What|Removed |Added Component|target |libstdc++ --- Comment #5 from Andrew Pins

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 --- Comment #4 from Jarryd Beck 2012-03-24 07:57:20 UTC --- Note that this appears to happen only on 32 bit.

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 --- Comment #3 from Jarryd Beck 2012-03-24 07:56:15 UTC --- Created attachment 26973 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26973 The preprocessed version

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 --- Comment #2 from Jarryd Beck 2012-03-24 07:55:16 UTC --- Created attachment 26972 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26972 this file never terminates with -O0

[Bug c++/52699] infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 Jarryd Beck changed: What|Removed |Added Target||i686-pc-linux-gnu Host|

[Bug c++/52699] New: infinite loop generated with -O0

2012-03-24 Thread jarrydb at cse dot unsw.edu.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52699 Bug #: 52699 Summary: infinite loop generated with -O0 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3