[Bug c/38470] value range propagation (VRP) would improve -Wsign-compare

2012-03-24 Thread DeusExSophismata at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38470 David Stone DeusExSophismata at gmail dot com changed: What|Removed |Added CC|

[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

[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 jarrydb at cse dot unsw.edu.au changed: What|Removed |Added Target|

[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 jarrydb at cse dot unsw.edu.au 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 --- Comment #3 from Jarryd Beck jarrydb at cse dot unsw.edu.au 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 #4 from Jarryd Beck jarrydb at cse dot unsw.edu.au 2012-03-24 07:57:20 UTC --- Note that this appears to happen only on 32 bit.

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added Component|target |libstdc++ ---

[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 ubizjak at gmail dot com changed: What|Removed |Added Target|x86-64 |x32

[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 manu at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 manu at gcc dot gnu.org changed: What|Removed |Added CC|

[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 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:

[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 jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[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 mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at it dot

[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 steven at gcc dot gnu.org 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=gccview=revrev=185757 Log: gcc/ PR

[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 steven at gcc dot gnu.org 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=gccview=revrev=185758 Log: gcc/ PR

[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 steven at gcc dot gnu.org 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=gccview=revrev=185759 Log: gcc/ PR

[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 steven at gcc dot gnu.org changed: What|Removed |Added Known to work||4.5.5, 4.6.4,

[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 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 redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 hjl.tools at gmail dot com 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

[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 sir_nawaz959 at yahoo dot com 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

[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 manu at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc

[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 hjl.tools at gmail dot com 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

[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 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

[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 tkoenig at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last

[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 tkoenig at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[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 ebotcazou at gcc dot gnu.org 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=gccview=revrev=185764 Log: PR target/52656

[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 ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 ebotcazou at gcc dot gnu.org 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=gccview=revrev=185765 Log: PR target/52610

[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 ebotcazou at gcc dot gnu.org 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=gccview=revrev=185766 Log: PR target/52610

[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 ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 manu at gcc dot gnu.org changed: What|Removed |Added CC||bratsinot at

[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 manu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[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 manu at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 manu at gcc dot gnu.org changed: What|Removed |Added CC|

[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 markus at trippelsdorf dot de 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

[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 matt at use dot net 2012-03-24 20:20:42 UTC --- Great. I verified the fix yesterday. Thanks!

[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

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

2012-03-24 Thread hubicka at gcc dot gnu.org
.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: (GNU) 4.8.0 20120324

[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 gjl at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[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 hubicka at gcc dot gnu.org 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

[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 matt at use dot net 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 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 DeusExSophismata at gmail dot com 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

[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 hubicka at gcc dot gnu.org 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

[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 hubicka at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 hubicka at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[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 netinet/ in.h, otherwise the HAVE_INET6

[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 ---

[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 redi at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[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

[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 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 ATamp;T On Mar 24, 2012 21:27, veiokej at

[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 jeremy at quiescent dot us 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 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 jeremy at quiescent dot us 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.