[Bug c++/53641] gcc/config/i386/crtfastmath.c gives internal compiler error: Segmentation fault during make

2012-06-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53641 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/53621] [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0

2012-06-12 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621 --- Comment #7 from chrbr at gcc dot gnu.org 2012-06-12 06:25:09 UTC --- (In reply to comment #6) I thought that -pg and -fomit-frame-pointer are always incompatible. Agree with the possible issues for old unwinders. I've forgotten that sh

[Bug c++/53613] Cannot override a inline = default virtual destructor.

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 06:27:42 UTC --- As I said, there's a simple workaround.

[Bug middle-end/50749] Auto-inc-dec does not find subsequent contiguous mem accesses

2012-06-12 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50749 --- Comment #12 from Oleg Endo olegendo at gcc dot gnu.org 2012-06-12 07:09:58 UTC --- Author: olegendo Date: Tue Jun 12 07:09:52 2012 New Revision: 188426 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188426 Log: PR target/50749 *

[Bug c++/53613] Cannot override a inline = default virtual destructor.

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug target/53639] x86_64: redundant 64-bit operations on 32-bit integers

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53639 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2012-06-12 07:40:26 UTC --- Created attachment 27606 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27606 gcc48-pr53639.patch The first problem is that combiner combines: (insn 9 8

[Bug rtl-optimization/53589] [4.7/4.8 Regression] ICE in maybe_record_trace_start with asm goto

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53589 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-06-12 07:52:53 UTC --- Author: jakub Date: Tue Jun 12 07:52:47 2012 New Revision: 188428 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188428 Log: PR

[Bug fortran/53642] New: Front-end optimization: Wrong string length for deferred-length strings

2012-06-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53642 Bug #: 53642 Summary: Front-end optimization: Wrong string length for deferred-length strings Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug fortran/53643] New: [OOP] ICE (segfault) with INTENT(OUT) CLASS array

2012-06-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53643 Bug #: 53643 Summary: [OOP] ICE (segfault) with INTENT(OUT) CLASS array Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords:

[Bug c++/53549] g++ and armadillo 3.2.0, operator() is inaccessible

2012-06-12 Thread conradsand.arma at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 --- Comment #4 from Conrad conradsand.arma at gmail dot com 2012-06-12 08:59:54 UTC --- Created attachment 27607 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27607 pre-processed source exposing the bug bug confirmed on Fedora 17, using gcc

[Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug tree-optimization/50569] [4.6/4.7 regression] unaligned memory accesses generated for memcpy

2012-06-12 Thread liujiangning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 --- Comment #16 from Jiangning Liu liujiangning at gcc dot gnu.org 2012-06-12 09:24:21 UTC --- Author: liujiangning Date: Tue Jun 12 09:24:11 2012 New Revision: 188431 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188431 Log: 2011-06-12

[Bug tree-optimization/53640] Missed cmove with stores

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53640 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible

2012-06-12 Thread conradsand.arma at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 --- Comment #6 from Conrad conradsand.arma at gmail dot com 2012-06-12 09:42:08 UTC --- bug not present when compiling with Clang 3.0 (I've found clang to often have more thorough/readable diagnostics than gcc) output of clang -v: clang version

[Bug tree-optimization/51070] [4.6/4.7 Regression] ICE verify_gimple failed

2012-06-12 Thread liujiangning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51070 --- Comment #10 from Jiangning Liu liujiangning at gcc dot gnu.org 2012-06-12 09:44:28 UTC --- Author: liujiangning Date: Tue Jun 12 09:44:24 2012 New Revision: 188432 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188432 Log: 2011-06-12

[Bug fortran/53643] [OOP] ICE (segfault) with INTENT(OUT) CLASS array

2012-06-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53643 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc

[Bug tree-optimization/51042] [4.5 Regression] endless recursion in phi_translate

2012-06-12 Thread liujiangning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51042 --- Comment #9 from Jiangning Liu liujiangning at gcc dot gnu.org 2012-06-12 09:53:57 UTC --- Author: liujiangning Date: Tue Jun 12 09:53:53 2012 New Revision: 188433 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188433 Log: 2011-06-12

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target||x86_64-*-*

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 --- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2012-06-12 10:11:51 UTC --- Btw, when I run the benchmark with the addition of -march=native (for me, that's -march=corei7) then GCC 4.7 performs better than 4.6: 4.6: ./t 10

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 --- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2012-06-12 10:27:15 UTC --- Small testcase: int a[256]; int b[256]; void foo (void) { int i; for (i = 0; i 256; ++i) { b[i] = a[i] * 23; } } you can see that we

[Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||fabien at gcc

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 --- Comment #9 from Richard Guenther rguenth at gcc dot gnu.org 2012-06-12 10:39:19 UTC --- And cprop fails to propagate (reg:V4SI 85) := (const_vector:V4SI [ (const_int 23 [0x17]) (const_int 23 [0x17]) (const_int 23

[Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 --- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 10:39:20 UTC --- Further reduced, a single example showing both errors: templatetypename T struct C { int operator()(); templateint I struct F : C {

[Bug target/53639] x86_64: redundant 64-bit operations on 32-bit integers

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53639 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #27606|0 |1 is

[Bug lto/53604] ld reports errors using lto after upgrading from gcc-4.6.2 to gcc-4.7.0

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53604 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug lto/53572] Some public symbols don't get to serialized LTO

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53572 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added CC||paul.scruby

[Bug c++/53613] Cannot override a inline = default virtual destructor.

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613 --- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 10:47:58 UTC --- I think it compiles with 4.4 because __cook::~__cook is not noexcept, because 4.4 doesn't infer an empty throw spec for a trivial destructor. If you add

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added CC||stevenb.gcc

[Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2012-06-12 12:17:37 UTC --- This started to be rejected with http://gcc.gnu.org/viewcvs?root=gccview=revrev=182711

[Bug target/53639] x86_64: redundant 64-bit operations on 32-bit integers

2012-06-12 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53639 --- Comment #3 from Uros Bizjak ubizjak at gmail dot com 2012-06-12 12:21:07 UTC --- (In reply to comment #2) Unfortunately that patch regressed pr49095.c testcase. So, either we limit the splitter to the paradoxical subreg that is created

[Bug middle-end/53616] [4.8 Regression] 416.gamess in SPEC CPU 2006 miscompiled

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53616 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING ---

[Bug fortran/53643] [OOP] ICE (segfault) with INTENT(OUT) CLASS array

2012-06-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53643 --- Comment #2 from Tobias Burnus burnus at gcc dot gnu.org 2012-06-12 12:33:34 UTC --- I am not sure whether the following (in trans-decl.c) is the proper fix or an ugly work around, but it seems to work. -- Maybe, a proper fix would be to

[Bug middle-end/53644] New: ICE in force_move_args_size_note, at combine-stack-adj.c:419

2012-06-12 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53644 Bug #: 53644 Summary: ICE in force_move_args_size_note, at combine-stack-adj.c:419 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c/53645] New: Missed optimization for division of vector types

2012-06-12 Thread andrii.riabushenko at barclays dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53645 Bug #: 53645 Summary: Missed optimization for division of vector types Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/53599] [4.7/4.8 Regression] gcc-4.7.1_rc20120606 segfaults compiling boost.karma

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53599 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/53644] ICE in force_move_args_size_note, at combine-stack-adj.c:419

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53644 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug middle-end/53616] [4.8 Regression] 416.gamess in SPEC CPU 2006 miscompiled

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53616 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|WAITING |NEW

[Bug middle-end/53616] [4.8 Regression] 416.gamess in SPEC CPU 2006 miscompiled

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53616 --- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2012-06-12 13:03:57 UTC --- Created attachment 27610 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27610 alt.src for 416.games

[Bug c++/53646] New: Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 Bug #: 53646 Summary: Surprising effects of cxx11 vs cxx98 ABI compatibility Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug target/53621] [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0

2012-06-12 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621 --- Comment #8 from chrbr at gcc dot gnu.org 2012-06-12 13:26:42 UTC --- Created attachment 27612 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27612 fix All the suspicious flags reviewed and looked OK excepted maybe

[Bug c/53645] Missed optimization for division of vector types

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53645 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/53645] Missed optimization for vector integer division lowering

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53645 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 13:38:01 UTC --- (In reply to comment #0) In this specific case the problem is the Rb_tree::equal_range function, which returns a pair, under cxx98 that's POD (returned via

[Bug middle-end/53644] ICE in force_move_args_size_note, at combine-stack-adj.c:419

2012-06-12 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53644 Matthias Klose doko at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/53602] [4.7 Regression] Libre Office causes an internal compiler error

2012-06-12 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53602 Matthias Klose doko at gcc dot gnu.org changed: What|Removed |Added CC||doko at gcc dot

[Bug target/53621] [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0

2012-06-12 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621 --- Comment #9 from Kazumoto Kojima kkojima at gcc dot gnu.org 2012-06-12 13:56:37 UTC --- The patch is pre-approved. Thanks for looking into the issue thoroughly.

[Bug middle-end/53616] [4.8 Regression] 416.gamess in SPEC CPU 2006 miscompiled

2012-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53616 --- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2012-06-12 14:06:18 UTC --- Ok, that doesn't apply for me (I'm stuck on v1.0). I can reproduce it with -fno-tree-vrp without LTO but only with reference input (thus bisecting to a

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 14:19:33 UTC --- N.B. std::pair is not a POD in c++98 or c++11, so I don't know what libstdc++ could have done to cause the FE to change how it returns a std::pair.

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 14:27:58 UTC --- I don't think this is a libstdc++ issue, precompiling the code with 4.7 and then compiling with 4.8 still segfaults, so it's a FE change not a libstdc++

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 14:29:03 UTC --- (In reply to comment #3) I don't think this is a libstdc++ issue, precompiling ... Sorry, brainfart, I meant preprocessing

[Bug c++/53137] [4.7/4.8 Regression] g++ segfault

2012-06-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53137 --- Comment #6 from Jason Merrill jason at gcc dot gnu.org 2012-06-12 15:01:31 UTC --- Author: jason Date: Tue Jun 12 15:01:17 2012 New Revision: 188460 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188460 Log: PR c++/53599 Revert:

[Bug c++/53599] [4.7/4.8 Regression] gcc-4.7.1_rc20120606 segfaults compiling boost.karma

2012-06-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53599 --- Comment #9 from Jason Merrill jason at gcc dot gnu.org 2012-06-12 15:01:29 UTC --- Author: jason Date: Tue Jun 12 15:01:17 2012 New Revision: 188460 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188460 Log: PR c++/53599 Revert:

[Bug c++/53137] [4.7/4.8 Regression] g++ segfault

2012-06-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53137 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.7.1 |4.7.2 ---

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #5 from Michael Matz matz at gcc dot gnu.org 2012-06-12 15:36:01 UTC --- (In reply to comment #2) N.B. std::pair is not a POD in c++98 or c++11, so I don't know what libstdc++ could have done to cause the FE to change how it returns

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #6 from Michael Matz matz at gcc dot gnu.org 2012-06-12 15:41:49 UTC --- FWIW, it's finish_struct_bits setting TREE_ADDRESSABLE, because type_has_nontrivial_copy_init returns true for pair with that ctor. I think this indeed makes

[Bug middle-end/53647] New: [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 Bug #: 53647 Summary: [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c Classification: Unclassified Product: gcc Version: 4.8.0

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 15:50:05 UTC --- Trivially copyable is just one small part of the POD requirements. std::pair has always been non-POD, even in c++98, but in c++98 it is trivially copyable, in

[Bug fortran/53642] Front-end optimization: Wrong string length for deferred-length strings

2012-06-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53642 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||paolo.carlini at

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 15:57:16 UTC --- Defaulting that move-ctor fixes the issue referred to in comment 1 too. I think we need to find out if that comment is still relevant and fix it if it is, so

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #10 from Michael Matz matz at gcc dot gnu.org 2012-06-12 16:02:28 UTC --- Yep, defaulting that ctor changes the ABI back to register passing. If we could change that in libstdc++, all the better, but I still think the issue is larger

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #11 from Paolo Carlini paolo.carlini at oracle dot com 2012-06-12 16:04:58 UTC --- Daniel should have all the details. It might be possible to do the change *together* with changing the constraining in the various container::insert to

[Bug libstdc++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility

2012-06-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646 --- Comment #12 from Paolo Carlini paolo.carlini at oracle dot com 2012-06-12 16:12:55 UTC --- If I remember correctly, the last time I tried, default + is_constructible worked pretty well modulo testcases sensitive to access control under

[Bug ada/53592] ICE when hitting assigment to component of SSE vector_type

2012-06-12 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53592 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/53648] New: nested empty tuple

2012-06-12 Thread chesstr at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 Bug #: 53648 Summary: nested empty tuple Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/53648] nested empty tuples

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug ada/53590] compiler fails to generate SIMD instruction for FP division

2012-06-12 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53590 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-12 Thread chesstr at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #2 from chesstr at hotmail dot com 2012-06-12 17:13:33 UTC --- (In reply to comment #1) I have a fix for this already, IIRC it's simply a case of not using the EBO for a tuple that contains std::tuple Yes, an easy fix in tuple

[Bug middle-end/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 William J. Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added CC||wschmidt

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-12 17:27:50 UTC --- There are other cases involving non-empty tuples that will still result in an ambiguity e.g. struct A { }; auto d = tupletupletupleA, A, A, A{}; My solution

[Bug middle-end/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2012-06-12 17:45:40 UTC --- /export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -fno-diagnostics-show-caret -Os -w -c -o pr25311.o

[Bug middle-end/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC||ubizjak at gmail dot

[Bug libstdc++/53648] [C++11] nested empty tuples

2012-06-12 Thread chesstr at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53648 --- Comment #4 from chesstr at hotmail dot com 2012-06-12 18:03:56 UTC --- (In reply to comment #3) There are other cases involving non-empty tuples that will still result in an ambiguity e.g. struct A { }; auto d = tupletupletupleA, A, A,

[Bug target/53511] SH Target: Add support for fma patterns

2012-06-12 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53511 --- Comment #13 from Oleg Endo olegendo at gcc dot gnu.org 2012-06-12 18:25:46 UTC --- Author: olegendo Date: Tue Jun 12 18:25:40 2012 New Revision: 188471 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188471 Log: PR target/53511 *

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread matt at use dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 --- Comment #11 from Matt Hargett matt at use dot net 2012-06-12 18:25:25 UTC --- Richard, Thanks for the quick analysis! Sounds like a perfect storm of sorts :/ re: cprop failure: this may be indicated by another major regression in their

[Bug c++/53599] [4.7/4.8 Regression] gcc-4.7.1_rc20120606 segfaults compiling boost.karma

2012-06-12 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53599 --- Comment #10 from Jason Merrill jason at gcc dot gnu.org 2012-06-12 18:32:10 UTC --- Author: jason Date: Tue Jun 12 18:32:04 2012 New Revision: 188473 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188473 Log: PR c++/53599 *

[Bug tree-optimization/53645] Missed optimization for vector integer division lowering

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53645 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug rtl-optimization/53533] [4.7/4.8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2012-06-12 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 --- Comment #12 from Richard Henderson rth at gcc dot gnu.org 2012-06-12 18:54:24 UTC --- (In reply to comment #10) But maybe allowing const_vector in (some of) the define_insn_and_split would be the way to go ... Maybe. It certainly would

[Bug target/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 William J. Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added Component|middle-end |target

[Bug target/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 --- Comment #5 from William J. Schmidt wschmidt at gcc dot gnu.org 2012-06-12 19:09:48 UTC --- If this is incorrect, and zero is supposed to indicate a cacheless memory (do they exist anymore?), then I can disable the adjacent-loads hoisting

[Bug target/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 --- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2012-06-12 19:26:12 UTC --- We should update i386.c to have reasonable values for size of l1 cache, size of l2 cache, size of prefetch block and number of parallel prefetches, instead of 0s.

[Bug target/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 --- Comment #7 from Uros Bizjak ubizjak at gmail dot com 2012-06-12 19:40:21 UTC --- Perhaps simply: --cut here-- Index: tree-ssa-phiopt.c === --- tree-ssa-phiopt.c (revision

[Bug target/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 --- Comment #8 from Uros Bizjak ubizjak at gmail dot com 2012-06-12 19:45:56 UTC --- Alternative patch with the same functionality: --cut here-- Index: tree-ssa-phiopt.c === ---

[Bug target/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 --- Comment #8 from Uros Bizjak ubizjak at gmail dot com 2012-06-12 19:45:56 UTC --- Alternative patch with the same functionality: --cut here-- Index: tree-ssa-phiopt.c === ---

[Bug tree-optimization/53647] [4.8 Regression] gcc.c-torture/compile/20011229-1.c and gcc.c-torture/compile/pr25311.c

2012-06-12 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53647 William J. Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug middle-end/17958] expand_divmod fails to optimize division of 64-bit quantity by small constant when BITS_PER_WORD is 32

2012-06-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17958 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added AssignedTo|roger at eyesopen dot com |dtemirbulatov

[Bug tree-optimization/53645] Missed optimization for vector integer division lowering

2012-06-12 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53645 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Depends on||51581 ---

[Bug c/53196] unknown struct name in C99 compound initializer doesn't generate error

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53196 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2012-06-12 21:16:24 UTC --- Author: jakub Date: Tue Jun 12 21:16:20 2012 New Revision: 188483 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188483 Log: PR c/53532 PR

[Bug c/51034] invalid typeof usage

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51034 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-06-12 21:16:24 UTC --- Author: jakub Date: Tue Jun 12 21:16:20 2012 New Revision: 188483 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188483 Log: PR c/53532 PR

[Bug c/53532] function call ignored when called with argument of incompatible, undefined structure

2012-06-12 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53532 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-06-12 21:16:24 UTC --- Author: jakub Date: Tue Jun 12 21:16:20 2012 New Revision: 188483 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188483 Log: PR c/53532 PR

[Bug c/53649] New: ICE when using 'C' x86 asm constraint

2012-06-12 Thread svfuerst at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53649 Bug #: 53649 Summary: ICE when using 'C' x86 asm constraint Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: trivial Priority:

[Bug lto/51997] LTO does not inline available builtin implementations

2012-06-12 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51997 Aldy Hernandez aldyh at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/53650] New: large array causes huge memory use

2012-06-12 Thread david at doublewise dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53650 Bug #: 53650 Summary: large array causes huge memory use Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3

[Bug c++/53651] New: seg fault when specifying using decltype(...)::method

2012-06-12 Thread dlarimer at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53651 Bug #: 53651 Summary: seg fault when specifying using decltype(...)::method Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/50043] [C++0x] Implement core/1123

2012-06-12 Thread kirbyz...@sogou-inc.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50043 --- Comment #13 from Kirby Zhou kirbyz...@sogou-inc.com 2012-06-13 03:48:34 UTC --- How about back port this patch to 4.7 branch? It cause a lot of compile error which easily confuse programmers. (In reply to comment #9) Author: paolo Date:

[Bug c++/53650] large array causes huge memory use

2012-06-12 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53650 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug target/53621] [SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0

2012-06-12 Thread chrbr at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621 --- Comment #10 from chrbr at gcc dot gnu.org 2012-06-13 05:59:16 UTC --- currently analyzing a regression gcc.dg/stack-usage-1.c scan-file foo\t(256|264)\tstatic Don't know yet if it's a problem with the test or a side effect. But this delays