[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #5 from H.J. Lu 2011-07-25 16:15:10 UTC --- Created attachment 24831 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24831 A testcase elf/rtld.c in glibc is miscompiled by -std=gnu99 -fgnu89-inline -O2 -fPIC

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #6 from H.J. Lu 2011-07-25 16:15:31 UTC --- (In reply to comment #4) > A shot-in-the-dark change: > > (define_insn "*add_1" > [(set (match_operand:SWI48 0 "nonimmediate_operand" "=r,rm,r,r") > (plus:SWI48 > (match_operand

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #7 from Uros Bizjak 2011-07-25 16:24:03 UTC --- (In reply to comment #1) > X32 dynamic linker is miscompiled: BTW: These two functions look the same to me. "lea(%rsi,%rdx,1),%edx" is the same as "add%esi,%edx". Can you plea

[Bug debug/49841] [4.7 regression] AIX bootstrap failure in dwarf2cfi.c:maybe_record_trace_start

2011-07-25 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49841 --- Comment #2 from Richard Henderson 2011-07-25 16:39:43 UTC --- Created attachment 24832 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24832 possible fix The ICE caught exactly what it was supposed to -- a difference in unwind info acros

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #8 from H.J. Lu 2011-07-25 16:41:36 UTC --- (In reply to comment #7) > (In reply to comment #1) > > X32 dynamic linker is miscompiled: > > BTW: These two functions look the same to me. > > "lea(%rsi,%rdx,1),%edx" is the same as

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #9 from Uros Bizjak 2011-07-25 16:58:49 UTC --- (In reply to comment #8) > Working ld.so sets EDX properly with: Sorry, I need a testcase to debug this...

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2011-07-25 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 --- Comment #88 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-07-25 17:02:45 UTC --- > --- Comment #87 from Paolo Carlini > 2011-07-22 21:49:49 UTC --- > Now the pragma issue is solved. Good. I don't know Rainer if that means we can > do something

[Bug libstdc++/49836] [C++0x] vector::push_back() should not require T to be (move-)assignable

2011-07-25 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49836 --- Comment #3 from paolo at gcc dot gnu.org 2011-07-25 17:08:53 UTC --- Author: paolo Date: Mon Jul 25 17:08:48 2011 New Revision: 176761 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176761 Log: 2011-07-25 Paolo Carlini Nath

[Bug libstdc++/49836] [C++0x] vector::push_back() should not require T to be (move-)assignable

2011-07-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49836 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2011-07-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 --- Comment #89 from Paolo Carlini 2011-07-25 17:14:13 UTC --- Ok, thanks. I'm afraid Jon will not be able to contribute much over the next few weeks, in the meanwhile I'll try to find the time to go through that old message of yours to the mailin

[Bug bootstrap/49845] New: [4.7 Regression] bootstrap failure

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49845 Summary: [4.7 Regression] bootstrap failure Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@

[Bug debug/49841] [4.7 regression] AIX bootstrap failure in dwarf2cfi.c:maybe_record_trace_start

2011-07-25 Thread dje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49841 --- Comment #3 from David Edelsohn 2011-07-25 17:27:26 UTC --- The patch allows me to get past the failure. The current solution seems good enough for me. Someone else can implement the alternative when it's needed.

[Bug target/49839] Use constants in registers preferably to inline constants (-Os)

2011-07-25 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49839 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #1 from Andrew Pinski

[Bug c++/33255] A warning for "unused" typedefs?

2011-07-25 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33255 Dodji Seketeli changed: What|Removed |Added Attachment #24821|0 |1 is obsolete|

[Bug bootstrap/49845] [4.7 Regression] bootstrap failure

2011-07-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49845 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/47653] [4.6/4.7 Regression] gcc.c-torture/execute/930614-2.c FAILs with -fstack-check=generic -fgraphite-identity

2011-07-25 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47653 --- Comment #8 from Sebastian Pop 2011-07-25 17:46:29 UTC --- Second attempt to fix this PR: http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02061.html

[Bug middle-end/47653] [4.6/4.7 Regression] gcc.c-torture/execute/930614-2.c FAILs with -fstack-check=generic -fgraphite-identity

2011-07-25 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47653 Sebastian Pop changed: What|Removed |Added CC||howarth at nitro dot |

[Bug middle-end/47593] gcc.dg/torture/pta-ptrarith-2.c execution tests fail with -fgraphite-identity

2011-07-25 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47593 Sebastian Pop changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug debug/49846] New: entryval: missing DW_TAG_GNU_call_site_parameter for stack-passed `double' parameter

2011-07-25 Thread jan.kratochvil at redhat dot com
ormal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: jan.kratoch...@redhat.com CC: ja...@redhat.com Target: x86_64-fedora16-linux-gnu FAIL gcc (GCC) 4.7.0 20110725 (experim

[Bug bootstrap/49845] [4.7 Regression] bootstrap failure

2011-07-25 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49845 --- Comment #2 from paolo at gcc dot gnu.org 2011-07-25 17:50:19 UTC --- Author: paolo Date: Mon Jul 25 17:50:13 2011 New Revision: 176765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176765 Log: 2011-07-25 Paolo Carlini PR boot

[Bug bootstrap/49845] [4.7 Regression] bootstrap failure

2011-07-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49845 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug bootstrap/49829] [4.7 Regression] --disable-static --enable-shared regression: cannot find -lstdc++

2011-07-25 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49829 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2 fro

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #10 from H.J. Lu 2011-07-25 18:03:51 UTC --- (In reply to comment #5) > Created attachment 24831 [details] > A testcase > > elf/rtld.c in glibc is miscompiled by > > -std=gnu99 -fgnu89-inline -O2 -fPIC GCC generates many relocation

[Bug middle-end/47128] gcc.dg/graphite/pr43012.c ICEs with cloog-parma

2011-07-25 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47128 --- Comment #2 from Sebastian Pop 2011-07-25 18:11:47 UTC --- I will close this PR when the patches from Tobias will go on trunk: http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01892.html This patch-set removes support for CLooG-Parma.

[Bug debug/49830] [4.7 regression] m68k-linux bootstrap failure due to ICE in dwarf2out_notice_stack_adjust

2011-07-25 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49830 Richard Henderson changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Richard H

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
dl_main, .-dl_main .hidden_start .ident "GCC: (GNU) 4.7.0 20110725 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-6 gcc]$

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #12 from H.J. Lu 2011-07-25 18:29:08 UTC --- Working x32 GCC generates: [hjl@gnu-6 gcc]$ cat foo.s .file"foo.c" .text .p2align 4,,15 .globldl_main .typedl_main, @function dl_main: .LFB0: .cfi_start

[Bug middle-end/47089] ICE: in gimple_redirect_edge_and_branch_force, at tree-cfg.c:5003 with -O -fgraphite-identity

2011-07-25 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47089 Sebastian Pop changed: What|Removed |Added CC||grosser at gcc dot gnu.org --- Comment #1

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 Pawel Sikora changed: What|Removed |Added CC||pluto at agmk dot net --- Comment #13 from

[Bug debug/49825] [4.7 Regression] Many testcase failures

2011-07-25 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49825 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #7

[Bug debug/49830] [4.7 regression] m68k-linux bootstrap failure due to ICE in dwarf2out_notice_stack_adjust

2011-07-25 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49830 Mikael Pettersson changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #14 from H.J. Lu 2011-07-25 19:39:27 UTC --- Another problem: [hjl@gnu-6 gcc]$ cat /tmp/bar.c typedef unsigned int Elf32_Addr; extern void _start (void); int dl_main ( Elf32_Addr *user_entry) { if (*user_entry == (Elf32_Addr) _star

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #15 from Uros Bizjak 2011-07-25 19:51:52 UTC --- (In reply to comment #14) > Another problem: > /tmp/bar.c:10:1: error: unrecognizable insn: > (insn 6 5 7 3 (set (reg:SI 67) > (symbol_ref:SI ("_start") [flags 0x41] _start>))

[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

2011-07-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813 --- Comment #41 from Paolo Carlini 2011-07-25 19:58:52 UTC --- The testcase in Comment #30 has the types wrong, the below is a corrected version (the substance of the issue doesn't change at all). I'm also thinking of checking in the library bits

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #16 from H.J. Lu 2011-07-25 19:59:00 UTC --- (In reply to comment #15) > (In reply to comment #14) > > Another problem: > > > /tmp/bar.c:10:1: error: unrecognizable insn: > > (insn 6 5 7 3 (set (reg:SI 67) > > (symbol_ref:SI

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #17 from H.J. Lu 2011-07-25 20:00:45 UTC --- (In reply to comment #16) > (In reply to comment #15) > > (In reply to comment #14) > > > Another problem: > > > > > /tmp/bar.c:10:1: error: unrecognizable insn: > > > (insn 6 5 7 3 (set (

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #18 from H.J. Lu 2011-07-25 20:10:27 UTC --- (In reply to comment #14) > Another problem: > > [hjl@gnu-6 gcc]$ cat /tmp/bar.c > typedef unsigned int Elf32_Addr; > extern void _start (void); > int > dl_main ( Elf32_Addr *user_entry) >

[Bug target/49833] [x32] PIC doesn't work

2011-07-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 --- Comment #19 from H.J. Lu 2011-07-25 20:13:13 UTC --- (In reply to comment #18) > (In reply to comment #14) > > Another problem: > > > > [hjl@gnu-6 gcc]$ cat /tmp/bar.c > > typedef unsigned int Elf32_Addr; > > extern void _start (void); > > i

[Bug target/47509] avr-gcc error: could not split insn

2011-07-25 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47509 --- Comment #4 from Georg-Johann Lay 2011-07-25 20:14:39 UTC --- (In reply to comment #0) > Steps to Reproduce: > 1. git clone git://github.com/ethersex/ethersex.git > 2. cd ethersex/ > 3. make menuconfig > -> Make sure that "UDP support" is act

[Bug java/49847] New: m68k gcj-4.6 NULL deref in fold_rtx (prev_insn_cc0 == NULL)

2011-07-25 Thread tg at mirbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49847 Summary: m68k gcj-4.6 NULL deref in fold_rtx (prev_insn_cc0 == NULL) Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug middle-end/47046] gcc.target/i386/sse4_1-movntdqa.c ICEs with -fgraphite-identity

2011-07-25 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47046 --- Comment #2 from Sebastian Pop 2011-07-25 21:49:53 UTC --- Patch http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02209.html

[Bug debug/49841] [4.7 regression] AIX bootstrap failure in dwarf2cfi.c:maybe_record_trace_start

2011-07-25 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49841 --- Comment #4 from Richard Henderson 2011-07-25 22:53:29 UTC --- Author: rth Date: Mon Jul 25 22:53:25 2011 New Revision: 176773 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176773 Log: PR debug/49841 * config/rs6000/rs6000.c (rs60

[Bug debug/49841] [4.7 regression] AIX bootstrap failure in dwarf2cfi.c:maybe_record_trace_start

2011-07-25 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49841 Richard Henderson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/45923] constexpr diagnostics, more more

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

[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

2011-07-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813 --- Comment #42 from Jason Merrill 2011-07-26 00:10:20 UTC --- (In reply to comment #34) > (we *do* have PRs about constexpr vs diagnostics) Notably 45923, which I have just closed as fixed by my June 29 patch. The comment 8 testcase results in

[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

2011-07-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813 --- Comment #43 from Jason Merrill 2011-07-26 00:26:26 UTC --- (In reply to comment #42) > Seems like we should add BUILT_IN_ISINF and its variants to > builtin_valid_in_constant_expr_p. Actually, we seem to ignore the arguments when a function

[Bug c++/49813] [C++0x] sinh vs asinh vs constexpr

2011-07-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813 --- Comment #44 from Paolo Carlini 2011-07-26 00:29:22 UTC --- Please.. ;)

[Bug c/49848] New: False positive warning triggered by -Wmaybe-uninitialized

2011-07-25 Thread lacombar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49848 Summary: False positive warning triggered by -Wmaybe-uninitialized Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c/49848] False positive warning triggered by -Wmaybe-uninitialized

2011-07-25 Thread lacombar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49848 --- Comment #1 from Arnaud Lacombe 2011-07-26 01:31:07 UTC --- Created attachment 24834 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24834 reduced testcase

[Bug middle-end/49848] False positive warning triggered by -Wmaybe-uninitialized

2011-07-25 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49848 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #2 from Andrew Pin

[Bug rtl-optimization/49799] gcc arm generates illegal sbfx instruction

2011-07-25 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 --- Comment #8 from Carrot 2011-07-26 02:51:39 UTC --- (In reply to comment #7) > No, you miss the point. > > Internally we must not generate (ashift (reg) (const_int)) where the const is > negative. > > Note that your testcasegenerates a reg s

[Bug c++/49347] G++ rejects Solaris spawn.h use of __restrict

2011-07-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347 --- Comment #8 from Jason Merrill 2011-07-26 05:07:46 UTC --- (In reply to comment #5) > Jason, will there be restrict support in C++ 2011? No.

[Bug middle-end/49671] [4.6/4.7 Regression] volatile goes missing after inlining

2011-07-25 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49671 --- Comment #5 from Andrew Pinski 2011-07-26 05:28:50 UTC --- Author: pinskia Date: Tue Jul 26 05:28:45 2011 New Revision: 176782 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176782 Log: 2011-07-25 Andrew Pinski PR tree-opt/4967

<    1   2