[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Uros Bizjak ubizjak at gmail dot com changed: What|Removed |Added Target||x86

[Bug ada/56316] New: [4.8 Regression] bootstrap with ada on mingw fails in ada/gcc-interface/trans.c

2013-02-14 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56316 Bug #: 56316 Summary: [4.8 Regression] bootstrap with ada on mingw fails in ada/gcc-interface/trans.c Classification: Unclassified Product: gcc Version: 4.8.0

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #5 from Uros Bizjak ubizjak at gmail dot com 2013-02-14 08:22:33 UTC --- For reference, some quotes from Honza: -- PR54073-- The decision on whether to use cmov or jmp was always tricky on x86 architectures. Cmov increase

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #6 from Uros Bizjak ubizjak at gmail dot com 2013-02-14 08:27:52 UTC --- (In reply to comment #5) -- PR53046 -- [...] -- /PR53046 -- Actually, PR53346.

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2013-02-14 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123 --- Comment #11 from Kai Tietz ktietz at gcc dot gnu.org 2013-02-14 08:45:16 UTC --- Author: ktietz Date: Thu Feb 14 08:45:09 2013 New Revision: 196046 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196046 Log: 2013-02-14 Rainer

[Bug ada/56316] [4.8 Regression] bootstrap with ada on mingw fails in ada/gcc-interface/trans.c

2013-02-14 Thread rai...@emrich-ebersheim.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56316 --- Comment #2 from Rainer Emrich rai...@emrich-ebersheim.de 2013-02-14 08:52:19 UTC --- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.02.2013 09:46, schrieb charlet at gcc dot gnu.org: I would suggest always checking with

[Bug lto/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2013-02-14 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #16 from rguenther at suse dot de rguenther at suse dot de 2013-02-14 08:56:12 UTC --- On Wed, 13 Feb 2013, ebotcazou at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #14 from

[Bug ada/56316] [4.8 Regression] bootstrap with ada on mingw fails in ada/gcc-interface/trans.c

2013-02-14 Thread charlet at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56316 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/56242] [4.8 Regression] libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:175:0: ICE: Segmentation fault

2013-02-14 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56242 --- Comment #6 from vries at gcc dot gnu.org 2013-02-14 09:11:06 UTC --- New version of the patch, the previous one did PATTERN (PATTERN ()). I'm bootstrapping this now on x86_64, and will test it on mips. Bootstrapped and reg-tested on

[Bug lto/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2013-02-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #17 from Eric Botcazou ebotcazou at gcc dot gnu.org 2013-02-14 09:18:46 UTC --- Because as it is seen as a regular VAR_DECL by optimizers the vectorizer (well, IPA increase-alignment in this case) chooses to bump its

[Bug c++/56317] New: inheriting constructor fails to move brace-initialized object

2013-02-14 Thread potswa at mac dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56317 Bug #: 56317 Summary: inheriting constructor fails to move brace-initialized object Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/56317] inheriting constructor fails to move brace-initialized object

2013-02-14 Thread potswa at mac dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56317 --- Comment #1 from David Krauss potswa at mac dot com 2013-02-14 09:35:12 UTC --- (But, perfect forwarding equivalent to the inheriting constructor semantic does work around the issue.)

[Bug fortran/56138] Deferred-length character RESULT: ICE in gfc_add_modify_loc

2013-02-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56138 --- Comment #9 from Tobias Burnus burnus at gcc dot gnu.org 2013-02-14 09:37:58 UTC --- Author: burnus Date: Thu Feb 14 09:37:53 2013 New Revision: 196047 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196047 Log: 2013-02-14

[Bug c++/56317] inheriting constructor fails to move brace-initialized object

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56317 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/56285] [C++11] Arguments to an inheriting constructor are not forwarded properly

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56285 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||potswa

[Bug fortran/56138] Deferred-length character RESULT: ICE in gfc_add_modify_loc

2013-02-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56138 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug go/56171] syscall FAILs on Solaris

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56171 --- Comment #9 from Rainer Orth ro at gcc dot gnu.org 2013-02-14 10:11:11 UTC --- Created attachment 29448 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29448 proposed patch for __xnet_ socket functions This works fine in the

[Bug fortran/56204] [4.8 regression] gfortran.dg/quad_[23].f90 FAIL on Solaris 9/x86

2013-02-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56204 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2013-02-14 10:13:03 UTC --- --- Comment #4 from Tobias Burnus burnus at gcc dot gnu.org 2013-02-13 12:06:02 UTC --- Thanks for testing. It looks

[Bug fortran/56318] New: [4.6/4.7/4.8 Regression] Wrong result with MATMUL of PARAMETER

2013-02-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56318 Bug #: 56318 Summary: [4.6/4.7/4.8 Regression] Wrong result with MATMUL of PARAMETER Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug fortran/56318] [4.6/4.7/4.8 Regression] Wrong result with MATMUL of PARAMETER

2013-02-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56318 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus

[Bug middle-end/56314] Please allow per-function specification of register conventions

2013-02-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56314 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug rtl-optimization/48133] [4.6/4.7 Regression] ICE: in get_loop_body, at cfgloop.c:831 with -O -funroll-loops -fthread-jumps -fno-tree-ch

2013-02-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48133 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED

[Bug debug/56307] FAIL: gcc.dg/tree-ssa/pr55579.c scan-tree-dump esra Created a debug-only replacement for s

2013-02-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56307 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug lto/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2013-02-14 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #18 from rguenther at suse dot de rguenther at suse dot de 2013-02-14 10:41:07 UTC --- On Thu, 14 Feb 2013, ebotcazou at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #17 from

[Bug bootstrap/56311] gcc/include-fixed/stdio.h: In function ‘_func’: gcc/include-fixed/stdio.h:135:3: error: expected declaration specifiers before ‘__extension__’

2013-02-14 Thread devurandom at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56311 --- Comment #2 from devurandom at gmx dot net 2013-02-14 10:44:25 UTC --- P.S: I am willing to debug this further on my own, but I need some help. My first guess is that the files in include-fixed are system headers, which are somehow

[Bug fortran/56318] [4.6/4.7/4.8 Regression] Wrong result with MATMUL of PARAMETER

2013-02-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56318 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug bootstrap/56311] gcc/include-fixed/stdio.h: In function ‘_func’: gcc/include-fixed/stdio.h:135:3: error: expected declaration specifiers before ‘__extension__’

2013-02-14 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56311 --- Comment #3 from Andreas Schwab sch...@linux-m68k.org 2013-02-14 11:05:32 UTC --- See fixincludes/inclhack.def, it looks like this is from hackname = hpux10_stdio_declarations, and select = ^#[ \t]*define _iob[ \t]*__iob needs to be

[Bug fortran/56318] [4.6/4.7/4.8 Regression] Wrong result with MATMUL of PARAMETER

2013-02-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56318 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris Linux)

2013-02-14 Thread szarpaj at grubelek dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 szarpaj at grubelek dot pl changed: What|Removed |Added CC||szarpaj at grubelek

[Bug tree-optimization/56175] Issue with combine phase on x86.

2013-02-14 Thread ysrumyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56175 --- Comment #11 from Yuri Rumyantsev ysrumyan at gmail dot com 2013-02-14 12:03:37 UTC --- I did measurements of 3 possible fixes: 1. Comment out 2 patterns related to type sinking. 2. Comment out 1st pattern only. 3. Prohibit type

[Bug c++/56319] New: call to implicitly-deleted copy constructor accepted

2013-02-14 Thread wlodzimierz.lipert at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56319 Bug #: 56319 Summary: call to implicitly-deleted copy constructor accepted Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug lto/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2013-02-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 --- Comment #19 from Richard Biener rguenth at gcc dot gnu.org 2013-02-14 12:24:26 UTC --- Author: rguenth Date: Thu Feb 14 12:24:12 2013 New Revision: 196050 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196050 Log: 2013-02-14

[Bug lto/50494] gcc.dg/vect/vect-reduc-2char.c fails spuriously on ppc with -flto

2013-02-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50494 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug go/56320] New: Several libgo tests FAIL on 64-bit Solaris/x86

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56320 Bug #: 56320 Summary: Several libgo tests FAIL on 64-bit Solaris/x86 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/56319] implicit copy constructor is not deleted when it is ill formed

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56319 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|major |normal

[Bug c++/56319] implicit copy constructor is not deleted when it is ill formed

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56319 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2013-02-14 12:36:56 UTC --- Reduced to remove tuple dependency templatetypename T struct tuple { T t; }; templateclass... Types tupleTypes...

[Bug c++/56319] [DR 1051] implicit copy constructor is not deleted for type with rvalue reference member

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56319 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug fortran/56318] [4.6/4.7/4.8 Regression] Wrong result with MATMUL of PARAMETER

2013-02-14 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56318 Mikael Morin mikael at gcc dot gnu.org changed: What|Removed |Added CC||mikael at

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target

2013-02-14 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123 --- Comment #12 from Kai Tietz ktietz at gcc dot gnu.org 2013-02-14 13:04:15 UTC --- Author: ktietz Date: Thu Feb 14 13:04:10 2013 New Revision: 196051 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196051 Log: 2013-02-14 Rainer

[Bug tree-optimization/56321] New: ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread ktkachov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 Bug #: 56321 Summary: ICE:segfault in midend for -funsafe-math-optimizations -O3 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug tree-optimization/56321] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug middle-end/56242] [4.8 Regression] libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:175:0: ICE: Segmentation fault

2013-02-14 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56242 --- Comment #7 from dave.anglin at bell dot net 2013-02-14 13:56:13 UTC --- Patch fixes ICE on hppa2.0w-hp-hpux11.11. Testsuite running...

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 --- Comment #2 from Marek Polacek mpolacek at gcc dot gnu.org 2013-02-14 13:58:06 UTC --- Better backtrace: X.c: In function ‘foo’: X.c:1:7: internal compiler error: Segmentation fault float foo(int n) ^ 0xa40775 crash_signal

[Bug c++/55232] [C++11] ICE with -Wunused-parameter for unused parameter pack using qualified dependent name

2013-02-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55232 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 --- Comment #3 from Marek Polacek mpolacek at gcc dot gnu.org 2013-02-14 14:06:36 UTC --- And yeah, with -fno-tree-reassoc - no ICE.

[Bug go/56322] New: text/template and testing/quick FAIL on 32-bit Solaris/SPARC

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56322 Bug #: 56322 Summary: text/template and testing/quick FAIL on 32-bit Solaris/SPARC Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug go/56324] New: exp/locale/collate/build FAILs on 64-bit Solaris/SPARC

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56324 Bug #: 56324 Summary: exp/locale/collate/build FAILs on 64-bit Solaris/SPARC Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity:

[Bug c++/56323] New: [C++11] cannot compile inherited constructor for typedef'ed base class

2013-02-14 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56323 Bug #: 56323 Summary: [C++11] cannot compile inherited constructor for typedef'ed base class Classification: Unclassified Product: gcc Version: 4.8.0

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 William J. Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug c++/56323] [C++11] cannot compile inherited constructor for typedef'ed base class

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56323 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 --- Comment #5 from William J. Schmidt wschmidt at gcc dot gnu.org 2013-02-14 14:43:29 UTC --- Actually I might be wrong about that, now that I think about it -- probably this was done in 4.8. It seems longer ago than that. ;)

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ysrumyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Yuri Rumyantsev ysrumyan at gmail dot com changed: What|Removed |Added CC|

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread arturomdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #8 from arturomdn at gmail dot com 2013-02-14 15:53:15 UTC --- It is possible (just a guess) that the extra compare is causing an interlock in the processor since the first cmov is issued speculatively and the condition won't be

[Bug c++/56326] New: g++.dg/gomp/tls-wrap4.C and g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56326 Bug #: 56326 Summary: g++.dg/gomp/tls-wrap4.C and g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86 Classification: Unclassified Product: gcc Version: 4.8.0

[Bug c++/56326] g++.dg/gomp/tls-wrap4.C and g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56326 --- Comment #1 from Rainer Orth ro at gcc dot gnu.org 2013-02-14 15:55:42 UTC --- Created attachment 29450 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29450 tls-wrap4.s assembler output with as (emutls)

[Bug c++/56326] g++.dg/gomp/tls-wrap4.C and g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86

2013-02-14 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56326 --- Comment #2 from Rainer Orth ro at gcc dot gnu.org 2013-02-14 15:56:30 UTC --- Created attachment 29451 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29451 tls-wrap4.s assembler output with gas (native tls)

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread arturomdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #9 from arturomdn at gmail dot com 2013-02-14 16:00:49 UTC --- I found in the Intel optimization guide an example of this idiom of comparing once and issuing two cmov back-to-back... so the problem isn't the two cmov, but

[Bug bootstrap/56327] New: [4.8 Regression] Revision 196009 breaks bootstrap on x32

2013-02-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56327 Bug #: 56327 Summary: [4.8 Regression] Revision 196009 breaks bootstrap on x32 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/56328] New: Explicit instantiation of inline function template works for base template, fails for specialized template

2013-02-14 Thread michael.schlottke at sloede dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56328 Bug #: 56328 Summary: Explicit instantiation of inline function template works for base template, fails for specialized template Classification: Unclassified

[Bug c++/56323] [C++11] cannot compile inherited constructor for typedef'ed base class

2013-02-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56323 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread arturomdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #10 from arturomdn at gmail dot com 2013-02-14 16:43:23 UTC --- Might be worth mentioning here what I said in the stackoverflow answer, that in this particular case the entire conditional branch can be avoided because it is

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-14 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC|

[Bug bootstrap/56327] [4.8 Regression] Revision 196009 breaks bootstrap on x32

2013-02-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56327 --- Comment #1 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2013-02-14 16:54:07 UTC --- Author: hjl Date: Thu Feb 14 16:54:01 2013 New Revision: 196054 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196054 Log: OFF_T:

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added CC||steven

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #12 from Steven Bosscher steven at gcc dot gnu.org 2013-02-14 17:10:02 UTC --- A bit more clear with insn 195 added: 195: flags:CC=cmp(r124:DI,r235:DI) 197: r116:DI={(gtu(flags:CC,0))?r125:DI:r233:DI} 199:

[Bug tree-optimization/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug tree-optimization/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread arturomdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #14 from arturomdn at gmail dot com 2013-02-14 17:30:54 UTC --- I also did the experiment, with the same results... it got faster but not as fast as the version with conditional branch instead of conditional moves:

[Bug tree-optimization/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #15 from Uros Bizjak ubizjak at gmail dot com 2013-02-14 17:34:15 UTC --- (In reply to comment #13) $ g++ --version g++ (GCC) 4.7.2 ... $ g++ -O3 -std=c++11 by-val-O3.ii ; ./a.out Took 14.31 seconds total. $ g++ -O3

[Bug tree-optimization/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread arturomdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #16 from arturomdn at gmail dot com 2013-02-14 17:42:55 UTC --- With -ftree-vectorize -fno-tree-loop-if-convert flags it generated this for the loop in question: .L39: movq%rdi, %rdx addq

[Bug tree-optimization/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #17 from Uros Bizjak ubizjak at gmail dot com 2013-02-14 17:49:46 UTC --- (In reply to comment #16) And it executed fast: ./by-val-O3-flags Took 6.74 seconds total. The solution to all these PRs is trivial: kill

[Bug bootstrap/55644] bootstrap-lto fails on current trunk (with and without profiledbootstrap)

2013-02-14 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55644 --- Comment #7 from Matt Hargett matt at use dot net 2013-02-14 18:00:57 UTC --- Sorry, but wouldn't that be papering over bugs? I'm confounded by the attitude around bootstrap failures, regardless of the basic supported options being

[Bug tree-optimization/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #18 from Uros Bizjak ubizjak at gmail dot com 2013-02-14 18:23:12 UTC --- Following patch is a big hammer approach to the problem, intended only for benchmarking --cut here-- Index: common/config/i386/i386-common.c

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Uros Bizjak ubizjak at gmail dot com changed: What|Removed |Added Component|tree-optimization |target

[Bug c++/56328] Explicit instantiation of inline function template works for base template, fails for specialized template

2013-02-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56328 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2013-02-14 18:44:41 UTC --- (In reply to comment #0) Why does the compiler treat a specialized template differently from the base template when it comes to explicit

[Bug bootstrap/55644] bootstrap-lto fails on current trunk (with and without profiledbootstrap)

2013-02-14 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55644 --- Comment #8 from H.J. Lu hjl.tools at gmail dot com 2013-02-14 18:47:12 UTC --- -O3 and -fprofile-use turn on optimizations like -funroll-loops which trigger false positive warnings.

[Bug c++/56329] New: Segmentation fault on simple invalid code with variadic template specialisation

2013-02-14 Thread jmetcalfe at acm dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56329 Bug #: 56329 Summary: Segmentation fault on simple invalid code with variadic template specialisation Classification: Unclassified Product: gcc Version: 4.7.2

[Bug middle-end/54582] gap in FORTIFY checking of buffer lengths

2013-02-14 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54582 --- Comment #14 from David Binderman dcb314 at hotmail dot com 2013-02-14 19:06:54 UTC --- Created attachment 29453 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29453 C++ source code Old version understood about a dozen formats,

[Bug bootstrap/56311] gcc/include-fixed/stdio.h: In function ‘_func’: gcc/include-fixed/stdio.h:135:3: error: expected declaration specifiers before ‘__extension__’

2013-02-14 Thread devurandom at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56311 --- Comment #4 from devurandom at gmx dot net 2013-02-14 19:45:33 UTC --- Created attachment 29454 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29454 gcc-4.7.2-inclhack-hpux10_stdio_declarations.patch Attached patch fixes the issue

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 --- Comment #6 from William J. Schmidt wschmidt at gcc dot gnu.org 2013-02-14 20:11:32 UTC --- Odd. Reassociation makes a correct and profitable transformation into foo (int n) { double _2; double _5; double _6; double _7;

[Bug c++/56319] [DR 1051] implicit copy constructor is not deleted for type with rvalue reference member

2013-02-14 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56319 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug c++/56328] Explicit instantiation of inline function template works for base template, fails for specialized template

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56328 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2013-02-14 20:39:53 UTC --- The foo2 specialization is not declared in main.cpp before it would be needed, so the program is ill-formed, no diagnostic required, according to

[Bug target/55941] [4.8 Regression] Strange copy of double (in struct) to stack

2013-02-14 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55941 Richard Henderson rth at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug c++/56328] Explicit instantiation of inline function template works for base template, fails for specialized template

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56328 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2013-02-14 20:45:35 UTC --- Also, [basic.def.odr]: An inline function shall be defined in every translation unit in which it is odr-used. and [dcl.fct.spec] If a function with

[Bug c++/55017] [C++11] Rvalue-reference member should cause copy constructor to be deleted, but still declared

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55017 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug c++/56319] [DR 1051] implicit copy constructor is not deleted for type with rvalue reference member

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56319 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/55017] [DR 1051] [C++11] Rvalue-reference member should cause copy constructor to be deleted, but still declared

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55017 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Summary|[C++11] Rvalue-reference|[DR

[Bug c++/56329] Segmentation fault on simple invalid code with variadic template specialisation

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56329 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug c++/52008] [Core/1495] ICE when adding partial specialization for variadic-templated structure

2013-02-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52008 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug middle-end/55478] [devirt] trunk fails inline-devirt test #4

2013-02-14 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55478 --- Comment #11 from Matt Hargett matt at use dot net 2013-02-14 21:27:54 UTC --- Attached is an updated version of the tests Maxim committed to the google/4_7 branch. The only difference is that more of the tests are xfail'd than in the

[Bug middle-end/55477] [devirt] trunk fails inline-devirt tests #2 and and #3 whereas they pass in google/4_7

2013-02-14 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55477 --- Comment #7 from Matt Hargett matt at use dot net 2013-02-14 21:28:33 UTC --- Created attachment 29455 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29455 diff against trunk adding new testcases

[Bug sanitizer/56330] New: [4.8 Regression] ICE: verify_gimple failed: gimple_bb (stmt) is set to a wrong basic block with -fsanitize=address

2013-02-14 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56330 Bug #: 56330 Summary: [4.8 Regression] ICE: verify_gimple failed: gimple_bb (stmt) is set to a wrong basic block with -fsanitize=address Classification: Unclassified

[Bug sanitizer/56330] [4.8 Regression] ICE: verify_gimple failed: gimple_bb (stmt) is set to a wrong basic block with -fsanitize=address

2013-02-14 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56330 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/56214] [4.8 Regression] FAIL: gcc.c-torture/execute/20050121-1.c compilation, ICE

2013-02-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56214 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2

[Bug libstdc++/56267] [4.7/4.8 Regression] unordered containers require Assignable hash function

2013-02-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56267 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/56224] [4.8 Regression] gfortran -fopenmp cannot find omp_lib.h

2013-02-14 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56224 --- Comment #5 from Thomas Koenig tkoenig at gcc dot gnu.org 2013-02-14 22:13:38 UTC --- Author: tkoenig Date: Thu Feb 14 22:13:26 2013 New Revision: 196058 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196058 Log: 2013-02-14

[Bug ada/56331] New: Gnatprep returns zero on error.

2013-02-14 Thread bj...@xn--rombobjrn-67a.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56331 Bug #: 56331 Summary: Gnatprep returns zero on error. Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug target/56309] -O3 optimizer generates conditional moves instead of compare and branch resulting in almost 2x slower code

2013-02-14 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #20 from Steven Bosscher steven at gcc dot gnu.org 2013-02-14 22:17:23 UTC --- (In reply to comment #12) --- by-val-O3.s.orig2013-02-14 18:06:56.0 +0100 +++ by-val-O3.s 2013-02-14 18:07:23.0 +0100 @@

[Bug sanitizer/56330] ICE: verify_gimple failed: gimple_bb (stmt) is set to a wrong basic block with -fsanitize=address

2013-02-14 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56330 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Summary|[4.8 Regression] ICE: |ICE:

[Bug tree-optimization/56321] [4.8 Regression] ICE:segfault in midend for -funsafe-math-optimizations -O3

2013-02-14 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56321 William J. Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added Status|NEW

  1   2   >