[BUG, 4.5.2] __attribute__((malloc)) leading to erroneous dead code elimination?

2011-06-24 Thread Gianni Tedesco
Hi, I'm not sure if this is a bug or I am just misunderstanding the attribute. First of all I noticed this behaviour on the following gcc version, but not earlier gcc (probably 4.2, I can't remember exactly): Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/

[Bug c++/49528] [4.6/4.7 regression] g++ fails to destroy temporary object when subobject is used to initialize a reference

2011-06-24 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49528 Jason Merrill changed: What|Removed |Added Summary|g++ fails to destroy|[4.6/4.7 regression] g++

[Bug c++/49528] g++ fails to destroy temporary object when subobject is used to initialize a reference

2011-06-24 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49528 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/49528] New: g++ fails to destroy temporary object when subobject is used to initialize a reference

2011-06-24 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49528 Summary: g++ fails to destroy temporary object when subobject is used to initialize a reference Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug c++/35255] [DR 115] gcc does not do partial ordering on overloaded address resolution

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

[Bug c++/49519] [4.7 Regression] Revision 175272 miscompiled 447.dealII in SPEC CPU 2006

2011-06-24 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49519 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/49527] New: internal compiler error: in mangle_decl_string, at cp/mangle.c:3099

2011-06-24 Thread plan9assembler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49527 Summary: internal compiler error: in mangle_decl_string, at cp/mangle.c:3099 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/49452] comp-goto-2.c regresses in testing

2011-06-24 Thread eraman at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 --- Comment #10 from Easwaran Raman 2011-06-24 23:07:58 UTC --- (In reply to comment #9) > I still get the -Os failures (I never had the others) with r175389 and have > attached the requested rtl dumps. This doesn't look like a DSE related bug t

[Bug tree-optimization/49452] comp-goto-2.c regresses in testing

2011-06-24 Thread janis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 --- Comment #8 from Janis Johnson 2011-06-24 23:02:12 UTC --- Created attachment 24601 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24601 rtl dump for -Os failure

[Bug tree-optimization/49452] comp-goto-2.c regresses in testing

2011-06-24 Thread janis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 --- Comment #9 from Janis Johnson 2011-06-24 23:02:58 UTC --- I still get the -Os failures (I never had the others) with r175389 and have attached the requested rtl dumps.

[Bug tree-optimization/49452] comp-goto-2.c regresses in testing

2011-06-24 Thread janis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 --- Comment #7 from Janis Johnson 2011-06-24 23:01:40 UTC --- Created attachment 24600 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24600 rtl dump for -Os failure

[Bug target/49526] ARM missed optimization: SMMUL instruction

2011-06-24 Thread siarhei.siamashka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49526 --- Comment #1 from Siarhei Siamashka 2011-06-24 22:48:46 UTC --- And clang 2.9 has no problems optimizing this code: $ cat test.c int smmul(int a, int b) { return ((long long)a * b) >> 32; } $ clang -ccc-host-triple arm-none-linux -O2 -mcpu=c

[Bug target/49526] New: ARM missed optimization: SMMUL instruction

2011-06-24 Thread siarhei.siamashka at gmail dot com
quot;GCC: (GNU) 4.7.0 20110624 (experimental)" .section.note.GNU-stack,"",%progbits

[Bug c++/49525] [4.4] wrong code and wrong warning for bitfield related operations

2011-06-24 Thread marcin.slusarz at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49525 --- Comment #4 from Marcin Ślusarz 2011-06-24 22:38:06 UTC --- Created attachment 24599 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24599 all.s

[Bug c++/49525] [4.4] wrong code and wrong warning for bitfield related operations

2011-06-24 Thread marcin.slusarz at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49525 --- Comment #3 from Marcin Ślusarz 2011-06-24 22:37:44 UTC --- Created attachment 24598 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24598 all.ii

[Bug fortran/49523] uninitialized warning present when compiled with O1 but not with O0

2011-06-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49523 Steven Bosscher changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/49525] [4.4] wrong code and wrong warning for bitfield related operations

2011-06-24 Thread marcin.slusarz at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49525 --- Comment #2 from Marcin Ślusarz 2011-06-24 22:23:56 UTC --- Created attachment 24597 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24597 standalone app testing this bug I'm attaching sources of standalone app which tests this bug. It s

[Bug c++/49525] [4.4] wrong code and wrong warning for bitfield related operations

2011-06-24 Thread marcin.slusarz at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49525 --- Comment #1 from Marcin Ślusarz 2011-06-24 22:20:24 UTC --- Created attachment 24596 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24596 g++ -v -save-temps -O2 -Wall -c all.c

[Bug c++/49525] New: [4.4] wrong code and wrong warning for bitfield related operations

2011-06-24 Thread marcin.slusarz at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49525 Summary: [4.4] wrong code and wrong warning for bitfield related operations Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/49452] comp-goto-2.c regresses in testing

2011-06-24 Thread eraman at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 --- Comment #6 from Easwaran Raman 2011-06-24 22:19:40 UTC --- Could you please test if r175384 fixes these failures? Otherwise please run one of the smaller tests with -fdump-rtl-dse1-all and -fdump-rtl-cse2 (the pass before DSE) and upload thos

[Bug tree-optimization/49452] comp-goto-2.c regresses in testing

2011-06-24 Thread janis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 Janis Johnson changed: What|Removed |Added CC||janis at gcc dot gnu.org --- Comment #5 f

[Bug c++/46400] g++ Segmentation Fault on heavily templated project.

2011-06-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46400 --- Comment #11 from Paolo Carlini 2011-06-24 21:29:33 UTC --- Thanks Jakub.

[Bug c++/46400] g++ Segmentation Fault on heavily templated project.

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46400 --- Comment #10 from Jakub Jelinek 2011-06-24 21:11:19 UTC --- Author: jakub Date: Fri Jun 24 21:11:16 2011 New Revision: 175389 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175389 Log: PR c++/46400 * cp-tree.h (union lang_tree_

[Bug ada/49524] New: container loop error

2011-06-24 Thread reinkor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49524 Summary: container loop error Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassig...@gcc.gnu.org

[Bug bootstrap/47534] [regression] avr libgcc.S fails to build

2011-06-24 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47534 Georg-Johann Lay changed: What|Removed |Added CC||j at uriah dot heep.sax.de --- Comment

[Bug target/46426] [avr] avr/libgcc.S in SVN r166596 fails to compile

2011-06-24 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46426 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/49487] Internal compiler error in AVR code

2011-06-24 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49487 Georg-Johann Lay changed: What|Removed |Added Keywords||ice-on-valid-code CC|

[Bug c++/49507] [4.6/4.7 Regression] ICE because of defaulted template destructor

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49507 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/49523] New: uninitialized warning present when compiled with O1 but not with O0

2011-06-24 Thread pascal22p at parois dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49523 Summary: uninitialized warning present when compiled with O1 but not with O0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/49429] [4.7 Regression] dse.c change (r175063) causes execution failures

2011-06-24 Thread eraman at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49429 --- Comment #16 from eraman at gcc dot gnu.org 2011-06-24 17:10:23 UTC --- Author: eraman Date: Fri Jun 24 17:10:18 2011 New Revision: 175384 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175384 Log: 2011-06-24 Easwaran Raman PR

[Bug tree-optimization/39839] [4.3/4.4/4.5/4.6 regression] loop invariant motion causes stack spill

2011-06-24 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39839 Richard Guenther changed: What|Removed |Added Known to work||4.7.0 Summary|[4.3/4.4/4.5/

[Bug target/49454] [4.7 Regression] /usr/include/libio.h:336:3: internal compiler error: Segmentation fault

2011-06-24 Thread eraman at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49454 --- Comment #5 from eraman at gcc dot gnu.org 2011-06-24 17:10:23 UTC --- Author: eraman Date: Fri Jun 24 17:10:18 2011 New Revision: 175384 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175384 Log: 2011-06-24 Easwaran Raman PR r

[Bug middle-end/49522] New: Divide by zero in validate_subreg in emit-rtl.c:695

2011-06-24 Thread rmansfield at qnx dot com
s=c++ --disable-shared --disable-libmudflap --disable-libssp Thread model: posix gcc version 4.7.0 20110624 (experimental) [trunk revision 175378] (GCC) $ ./xgcc -B. ~/ice.i -c -O3 -g /home/ryan/ice.i: In function 'func4': /home/ryan/ice.i:38:1: internal compiler error: Floating point exception

[Bug c++/49519] [4.7 Regression] Revision 175272 miscompiled 447.dealII in SPEC CPU 2006

2011-06-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49519 --- Comment #2 from H.J. Lu 2011-06-24 16:37:20 UTC --- step-14.cc is miscompiled: #0 SparsityPattern::operator() (this=0xcef8, i=0, j=0) at sparsity_pattern.cc:608 #1 0x08223fc1 in add (value=0.075579727185634243, j=, i=, this=0x

[Bug target/49437] interrupt return pop sometimes corrupts sp

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49437 Ramana Radhakrishnan changed: What|Removed |Added Keywords||wrong-code Status|UNCO

[Bug rtl-optimization/49504] Invalid optimization for Pmode != ptr_mode

2011-06-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49504 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug inline-asm/49142] Invalid 8bit register operand

2011-06-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49142 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/39839] [4.3/4.4/4.5/4.6/4.7 regression] loop invariant motion causes stack spill

2011-06-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39839 Steven Bosscher changed: What|Removed |Added CC||steven at gcc dot gnu.org --- Comment #

[Bug target/49521] [arm] Bad PIC register load in static initializers

2011-06-24 Thread rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49521 Ryan Mansfield changed: What|Removed |Added Keywords||wrong-code Summary|[arm] Bad

[Bug target/49521] [arm] Bad PIC register load in for static initializers

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49521 Ramana Radhakrishnan changed: What|Removed |Added Status|WAITING |NEW

[Bug target/48126] arm_output_sync_loop: misplaced memory barrier, missing clrex / dummy strex

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48126 Ramana Radhakrishnan changed: What|Removed |Added Keywords||wrong-code Status|UNCO

[Bug target/49521] [arm] Bad PIC register load in for static initializers

2011-06-24 Thread rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49521 --- Comment #2 from Ryan Mansfield 2011-06-24 13:50:48 UTC --- Created attachment 24591 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24591 preprocessed source

[Bug target/49521] [arm] Bad PIC register load in for static initializers

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49521 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/49521] [arm] Bad PIC register load in for static initializers

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49521 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Comm

[Bug rtl-optimization/49504] Invalid optimization for Pmode != ptr_mode

2011-06-24 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49504 --- Comment #5 from hjl at gcc dot gnu.org 2011-06-24 13:41:44 UTC --- Author: hjl Date: Fri Jun 24 13:41:40 2011 New Revision: 175377 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175377 Log: Properly handle pointer addition/subtraction

[Bug target/49521] New: [arm] Bad PIC register load in for static initializers

2011-06-24 Thread rmansfield at qnx dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49521 Summary: [arm] Bad PIC register load in for static initializers Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assign

[Bug tree-optimization/49516] SRA generates memory references into its replacements

2011-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49516 --- Comment #4 from Martin Jambor 2011-06-24 13:36:22 UTC --- Fixed on trunk, will commit to 4.6 after it is unfrozen.

[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #68

[Bug tree-optimization/49516] SRA generates memory references into its replacements

2011-06-24 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49516 --- Comment #3 from Martin Jambor 2011-06-24 13:27:47 UTC --- Author: jamborm Date: Fri Jun 24 13:27:44 2011 New Revision: 175376 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175376 Log: 2011-06-24 Martin Jambor PR tree-optimiza

[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2011-06-24 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 --- Comment #67 from Ian Lance Taylor 2011-06-24 13:21:28 UTC --- We don't need __FRAME_END__ if we use --eh-frame-hdr. We don't need __JCR_END__ if we rename the .jcr section to jcr and use __stop_jcr. These will only work with GNU ld or gold,

[Bug target/49335] [4.6/4.7 Regression] ARM: Invalid assembler generated while compiling C++ code from 'codeblocks'

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49335 --- Comment #5 from Ramana Radhakrishnan 2011-06-24 13:15:13 UTC --- Author: ramana Date: Fri Jun 24 13:15:08 2011 New Revision: 175375 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175375 Log: Fix PR target/49335 2011-06-24 Ramana Rad

[Bug middle-end/49373] [4.7 Regression] Many testcase failures

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49373 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #16

[Bug tree-optimization/49518] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555

2011-06-24 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49518 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug target/48126] arm_output_sync_loop: misplaced memory barrier, missing clrex / dummy strex

2011-06-24 Thread m.k.edwards at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48126 --- Comment #8 from Michael K. Edwards 2011-06-24 11:28:53 UTC --- So I think we agree that the CLREX is needless, but the DMB should move after the branch target. Does that make this bug "confirmed"? (I don't feel the need for patch credit. :-

[Bug regression/47836] Some Cross Compiler can't build target-libiberty or target-zlib

2011-06-24 Thread th.r.klein at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836 --- Comment #15 from th.r.klein at web dot de 2011-06-24 11:10:27 UTC --- The commit helps suppress building of target-libiberty. But there is still a try to build target-zlib. Isn't it possible to add a manual switch to prevent building of such ta

[Bug c++/49507] [4.6/4.7 Regression] ICE because of defaulted template destructor

2011-06-24 Thread s...@s-e-f-i.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49507 --- Comment #6 from Philipp 2011-06-24 10:26:06 UTC --- Applying the changes on top of gcc-4.6.1 rc1 fixes the problem for me. Thanks!

[Bug c++/46400] g++ Segmentation Fault on heavily templated project.

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46400 --- Comment #9 from Jakub Jelinek 2011-06-24 10:24:36 UTC --- Created attachment 24590 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24590 gcc47-pr46400.patch This seems to fix it for me, otherwise untested. TREE_CHAIN for types, if I unde

[Bug c++/49520] [C++0x] using-declaration and operator&& confuses constexpr

2011-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49520 --- Comment #1 from Jonathan Wakely 2011-06-24 10:22:03 UTC --- It works fine if: * the return statement is just a noexcept-expression * the using-declaration is moved to namespace-scope * the using-declaration is removed and the call is quali

[Bug target/49515] [4.7 Regression] gcc.dg/torture/tls/thr-init-2.c -O2 -fpic execution test failure

2011-06-24 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49515 --- Comment #4 from Uros Bizjak 2011-06-24 10:01:28 UTC --- (In reply to comment #1) > The code difference you show cannot be the real problem. The register > allocator has made a poorer choice in 4.7, leading to an extra move, > but the code t

[Bug middle-end/48493] [ICE] [ARM] in expand_expr_addr_expr_1, at expr.c

2011-06-24 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48493 --- Comment #8 from Mikael Pettersson 2011-06-24 09:59:58 UTC --- I've now bootstrapped and regtested the patch in #c5 on top of gcc-4.6-20110610 on an armv5tel-linux-gnueabi machine. (I couldn't get it to apply to trunk.) There were no build p

[Bug c++/49520] New: [C++0x] using-declaration and operator&& confuses constexpr

2011-06-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49520 Summary: [C++0x] using-declaration and operator&& confuses constexpr Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug gcov-profile/49484] gcov crash if two(or more) forks happen at the same time

2011-06-24 Thread cobexer at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49484 --- Comment #2 from cobexer at gmail dot com 2011-06-24 09:33:42 UTC --- I could not reproduce the crash using gcc 4.6. So I reported this to Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=716390

[Bug tree-optimization/49518] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49518 --- Comment #3 from Jakub Jelinek 2011-06-24 09:21:53 UTC --- nelements is here 16, while vf is just 2 (as the loop also operates on ints). mis is 2 (one iteration has been peeled already before vectorization). So, npeel_tmp is 14 and as cost mod

[Bug target/48308] [4.6 regression] crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}

2011-06-24 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org

[Bug bootstrap/49502] Unable to build gcc with gmp/mpc/mpfr in its tree and flag "--enable-cxx"

2011-06-24 Thread franck.z.bugzilla at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49502 --- Comment #6 from Franck Z 2011-06-24 08:53:50 UTC --- Agreed. :-)

[Bug c++/49519] [4.7 Regression] Revision 175272 miscompiled 447.dealII in SPEC CPU 2006

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

[Bug tree-optimization/49518] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49518 --- Comment #2 from Jakub Jelinek 2011-06-24 08:49:15 UTC --- And with -O3 -fno-tree-copy-prop this started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166244 Perhaps that patch should have adjusted the assert too?

[Bug tree-optimization/49518] [4.6/4.7 Regression] ICE in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555

2011-06-24 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49518 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/49515] [4.7 Regression] gcc.dg/torture/tls/thr-init-2.c -O2 -fpic execution test failure

2011-06-24 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49515 Uros Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/49515] [4.7 Regression] gcc.dg/torture/tls/thr-init-2.c -O2 -fpic execution test failure

2011-06-24 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49515 --- Comment #2 from Uros Bizjak 2011-06-24 07:42:20 UTC --- (In reply to comment #1) > Is linker relaxation messing with this code sequence, perhaps? You are correct. Adding -Wl,--no-relax produces correct binary. I will open a binutils bugrep