[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #8 from NickParker at Eaton dot com 2011-09-03 04:46:45 UTC --- Please ignore the r10/r20 guff I was experimenting. I later realised the muls3s3u3 code gives the right answer, the problem occurs later on somehow the registers where the

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #7 from NickParker at Eaton dot com 2011-09-03 04:45:08 UTC --- Please ignore the r10/r20 guff I was experimenting. I later realised the muls3s3u3 code gives the right answer, the problem occurs later on somehow Nick.

[Bug ada/37110] Assert_Failure at atree.adb:886 caused by legal prefixed notation

2011-09-02 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37110 --- Comment #5 from nicolas.boulenguez at free dot fr 2011-09-03 03:23:36 UTC --- -- There were two distinct bugs. package P is type T1 is tagged null record; type T2 is tagged null record; function Func (Func_Formal : in T1'Class;

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #6 from Andrew Pinski 2011-09-03 01:38:44 UTC --- Oh the real issue is that the : "r" (a_u4), "r" (b_u4) Those two arguments could be in r0 or r1. Also the generated asm does not correspond to the source you gave as there is an ex

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #5 from NickParker at Eaton dot com 2011-09-03 01:32:20 UTC --- Sorry. I pasted a broken version. Before. Code below works. uint32_t MulU3U3S3(uint32_t a_u4, uint32_t b_u4) { //uint32_t answer; asm volatile ( "pu

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #4 from NickParker at Eaton dot com 2011-09-03 01:30:26 UTC --- Hi Andrew, Can you please explain what you mean by %1 and %2. Thanks.

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #3 from NickParker at Eaton dot com 2011-09-03 01:28:57 UTC --- The final printed calculation result of MulU3U3S3() is wrong, because two of the four result registers are incorrect and have been overwritten. "mulu3u3s3 : [ +0016777215

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 --- Comment #2 from Andrew Pinski 2011-09-03 01:13:00 UTC --- I think your inline-asm is broken. You have: : "=&r" (answer) : "r" (a_u4), "r" (b_u4) : "r2","r3","r4","r5","r6","r7","r20" But you modify %1 and %2 which causes what you

[Bug target/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 Andrew Pinski changed: What|Removed |Added Component|c |target Severity|major

[Bug c/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 NickParker at Eaton dot com changed: What|Removed |Added Component|inline-asm |c Severity|normal

[Bug c++/50280] Incorrect type deduced for T& when passed a const bitfield

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50280 --- Comment #1 from Andrew Pinski 2011-09-03 01:07:40 UTC --- It works on the trunk as of 4.7.0 20110823 [trunk revision 178018]

[Bug inline-asm/50281] result registers are overwritten giving incorrect result

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 Andrew Pinski changed: What|Removed |Added Component|c |inline-asm Severity|major

[Bug c/50281] New: result registers are overwritten giving incorrect result

2011-09-02 Thread NickParker at Eaton dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50281 Bug #: 50281 Summary: result registers are overwritten giving incorrect result Classification: Unclassified Product: gcc Version: 4.3.3 Status: UNCONFIRMED

[Bug c++/50280] New: Incorrect type deduced for T& when passed a const bitfield

2011-09-02 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50280 Bug #: 50280 Summary: Incorrect type deduced for T& when passed a const bitfield Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug c++/50087] [C++0x] Weird optimization anomaly with constexpr

2011-09-02 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50087 --- Comment #6 from Jason Merrill 2011-09-03 00:48:25 UTC --- (In reply to comment #5) > I still think it's a missed optimization opportunity. Yes, it definitely is. I'm just not sure whether it should be fixed by doing constexpr expansion in n

[Bug bootstrap/50279] New: go bootstrap fails with lto

2011-09-02 Thread jpfoley2 at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279 Bug #: 50279 Summary: go bootstrap fails with lto Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/50149] loader error with source containing common blocks

2011-09-02 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50149 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #16 from vries at gcc dot gnu.org 2011-09-02 22:47:42 UTC --- Started testing patch from comment 9, augmented with comments: ... Index: explow.c === --- explow.c (revision

[Bug fortran/50149] loader error with source containing common blocks

2011-09-02 Thread riddle00 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50149 --- Comment #3 from Behzad Salimi 2011-09-02 22:34:27 UTC --- Hello, Thank you very much for your reply and help. Your example pointed me to the clue to find the error in my source: evidently, a /name/ block is required even when the "name" is

[Bug ada/37110] Assert_Failure at atree.adb:886 caused by legal prefixed notation

2011-09-02 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37110 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug c++/50087] [C++0x] Weird optimization anomaly with constexpr

2011-09-02 Thread eric-bugs at omnifarious dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50087 eric-bugs at omnifarious dot org changed: What|Removed |Added CC||eric-bugs at omnifarious

[Bug fortran/50278] [4.7 Regression] SPEC CPU 2000 failed to build

2011-09-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50278 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug middle-end/50260] [4.7 Regression] internal compiler error: Segmentation fault at ../../gcc/gcc/tree-ssa-live.c:88

2011-09-02 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50260 Michael Matz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/50260] [4.7 Regression] internal compiler error: Segmentation fault at ../../gcc/gcc/tree-ssa-live.c:88

2011-09-02 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50260 --- Comment #6 from Michael Matz 2011-09-02 18:31:56 UTC --- Author: matz Date: Fri Sep 2 18:31:47 2011 New Revision: 178489 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178489 Log: PR middle-end/50260 * ipa-split.c (split_func

[Bug ada/43598] GNAT.Expect.Non_Blocking_Spawn double free or corruption

2011-09-02 Thread nicolas.boulenguez at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43598 nicolas.boulenguez at free dot fr changed: What|Removed |Added CC||nicolas.boulenguez at f

[Bug bootstrap/50237] [4.7 regression] comparison failure caused by HAVE_INITFINI_ARRAY check

2011-09-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 --- Comment #15 from H.J. Lu 2011-09-02 18:09:41 UTC --- (In reply to comment #14) > > > > .init_array section is an array of pointers. How do you grep it? > > You arrange for the pointers to be assigned values whose bytes happen to > correspo

[Bug rtl-optimization/50191] Strange debug insn produced for TOC compiling 416.gamess with profile-generate

2011-09-02 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50191 --- Comment #11 from William J. Schmidt 2011-09-02 17:44:28 UTC --- Also, when I built a new cross-compiler over on gcc10, the issue moved from .LC7 to .LC8 -- so the exact .LC number may vary for whatever reason.

[Bug fortran/50278] [4.7 Regression] SPEC CPU 2000 failed to build

2011-09-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50278 --- Comment #1 from H.J. Lu 2011-09-02 17:27:43 UTC --- [hjl@gnu-35 delta-fortran]$ cat x.f INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3, $ N4 ) LOGICALCNAME, SNAME CHARACTER*1

[Bug fortran/50278] New: [4.7 Regression] SPEC CPU 2000 failed to build

2011-09-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50278 Bug #: 50278 Summary: [4.7 Regression] SPEC CPU 2000 failed to build Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Pri

[Bug other/50277] strndup should use strnlen instead of strlen

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50277 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug other/50277] strndup should use strnlen instead of strlen

2011-09-02 Thread ivan.tubert at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50277 --- Comment #3 from Ivan Tubert-Brohman 2011-09-02 16:55:07 UTC --- And the code in glibc already uses strnlen. Sorry about that. Please close the ticket unless you deem necessary to modify the version in libiberty/strndup.c

[Bug other/50277] strndup should use strnlen instead of strlen

2011-09-02 Thread ivan.tubert at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50277 --- Comment #2 from Ivan Tubert-Brohman 2011-09-02 16:51:42 UTC --- On Fri, Sep 2, 2011 at 12:45 PM, pinskia at gcc dot gnu.org wrote: > --- Comment #1 from Andrew Pinski 2011-09-02 > 16:45:15 UTC --- > strndup is part of the libc that comes f

[Bug other/50277] strndup should use strnlen instead of strlen

2011-09-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50277 --- Comment #1 from Andrew Pinski 2011-09-02 16:45:15 UTC --- strndup is part of the libc that comes from your OS and not part of GCC. Most likely you wanted to file this as a glibc bug.

[Bug other/50277] New: strndup should use strnlen instead of strlen

2011-09-02 Thread ivan.tubert at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50277 Bug #: 50277 Summary: strndup should use strnlen instead of strlen Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pri

[Bug fortran/50267] [4.4] ICE in lhd_set_decl_assembler_name

2011-09-02 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50267 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug rtl-optimization/50191] Strange debug insn produced for TOC compiling 416.gamess with profile-generate

2011-09-02 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50191 Peter Bergner changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #10 f

[Bug rtl-optimization/50191] Strange debug insn produced for TOC compiling 416.gamess with profile-generate

2011-09-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50191 --- Comment #9 from Jakub Jelinek 2011-09-02 15:48:44 UTC --- Ok, I've now managed to reproduce the unspecs in a fresh cross build. Perhaps adjust_mems could try harder and call targetm.delegitimize_address on all the expressions if it is !amd->s

[Bug rtl-optimization/49972] Invalid .gcc_except_table with -freorder-blocks-and-partition

2011-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49972 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug rtl-optimization/49972] Invalid .gcc_except_table with -freorder-blocks-and-partition

2011-09-02 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49972 --- Comment #8 from Bernd Schmidt 2011-09-02 14:49:51 UTC --- I'm guessing it was this: http://gcc.gnu.org/ml/gcc-patches/2011-08/msg02175.html

[Bug rtl-optimization/49972] Invalid .gcc_except_table with -freorder-blocks-and-partition

2011-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49972 Dominique d'Humieres changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comm

[Bug middle-end/49886] [4.6/4.7 Regression] pass_split_functions cannot deal with function type attributes

2011-09-02 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49886 --- Comment #4 from Martin Jambor 2011-09-02 14:30:49 UTC --- Author: jamborm Date: Fri Sep 2 14:30:34 2011 New Revision: 178482 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178482 Log: 2011-09-02 Martin Jambor PR middle-end/49

[Bug tree-optimization/27460] Does not vectorize statements with mixed type COND_EXPRs

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27460 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/27460] Does not vectorize statements with mixed type COND_EXPRs

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27460 --- Comment #5 from Richard Guenther 2011-09-02 13:53:37 UTC --- Author: rguenth Date: Fri Sep 2 13:53:32 2011 New Revision: 178480 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178480 Log: 2011-09-02 Richard Guenther PR tree-op

[Bug middle-end/29269] missing documentation for "vcond" (vector conditional operation)

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29269 --- Comment #4 from Richard Guenther 2011-09-02 13:53:37 UTC --- Author: rguenth Date: Fri Sep 2 13:53:32 2011 New Revision: 178480 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178480 Log: 2011-09-02 Richard Guenther PR tree-op

[Bug middle-end/29269] missing documentation for "vcond" (vector conditional operation)

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29269 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

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

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #17 from paolo at gcc dot gnu.org 2011-09-02 13:39:26 UTC --- Author: paolo Date: Fri Sep 2 13:39:22 2011 New Revision: 178475 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178475 Log: 2011-09-02 Paolo Carlini Mar

[Bug middle-end/50266] [4.6/4.7 Regression] internal compiler error: in decode_addr_const, at varasm.c:2638

2011-09-02 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50266 --- Comment #3 from joseph at codesourcery dot com 2011-09-02 13:36:20 UTC --- I don't think there's any particular reason this initializer should need to be folded in a particular way by the front end; I'd think the front end's job is to produc

[Bug target/49987] [4.7 Regression] gcc.c-torture/compile/pr34856.c fails on powerpc-darwin9 from r176228

2011-09-02 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49987 --- Comment #12 from rsandifo at gcc dot gnu.org 2011-09-02 13:32:14 UTC --- Author: rsandifo Date: Fri Sep 2 13:32:10 2011 New Revision: 178474 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178474 Log: gcc/ PR target/49987 * co

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #16 from Marc Glisse 2011-09-02 13:26:14 UTC --- (In reply to comment #15) > I'm finishing testing this. Looks good, thanks.

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 Paolo Carlini changed: What|Removed |Added Attachment #25178|0 |1 is obsolete|

[Bug c++/50255] Linker stumbles over non-grouped text/rodata for a non-virtual thunk

2011-09-02 Thread stephan.bergmann.secondary at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50255 --- Comment #6 from Stephan Bergmann 2011-09-02 13:15:42 UTC --- While I still don't have a stripped down test case, I at least know now what is going wrong (on recent gcc-4_6-branch rev 178396, at least): When compiling vbasheetobjects.cxx, the

[Bug c++/50276] Wrong "used uninitialized in this function" warning [C++0x]

2011-09-02 Thread bisqwit at iki dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276 --- Comment #1 from Joel Yliluoma 2011-09-02 13:04:31 UTC --- Even this produces the warning. Changing any of the "0"s into "1" did not affect the warning. static inline unsigned testfun(void*) { return 0; } template static inline unsigned

[Bug fortran/50273] [4.5/4.6/4.7 Regression] -Walign-commons no longer effective

2011-09-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50273 --- Comment #2 from Tobias Burnus 2011-09-02 12:57:03 UTC --- (In reply to comment #1) > > ./f951 -quiet t.f90 -Wpadded > Note that suggesting -fno-align-commons shouldn't be done - using it > can severely reduce performance. But to be 100% Fort

[Bug middle-end/49886] [4.6/4.7 Regression] pass_split_functions cannot deal with function type attributes

2011-09-02 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49886 --- Comment #3 from Martin Jambor 2011-09-02 12:46:10 UTC --- 4.6 version of the patch posted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00140.html

[Bug c++/50276] New: Wrong "used uninitialized in this function" warning [C++0x]

2011-09-02 Thread bisqwit at iki dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50276 Bug #: 50276 Summary: Wrong "used uninitialized in this function" warning [C++0x] Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #14 from Paolo Carlini 2011-09-02 12:33:40 UTC --- (In reply to comment #13) > Doesn't _Base_bitset<1> also need a special case for > _Nb==_GLIBCXX_BITSET_BITS_PER_WORD ? You are right, got confused by the signedness. > I think we c

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #13 from Marc Glisse 2011-09-02 12:23:33 UTC --- (In reply to comment #12) > Created attachment 25178 [details] > Work in progress patch for the _M_are_all_aux issue > > I'm considering doing something like this: what do you think? C

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #12 from Paolo Carlini 2011-09-02 12:08:04 UTC --- Created attachment 25178 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25178 Work in progress patch for the _M_are_all_aux issue I'm considering doing something like this: what

[Bug c++/50274] Conditionnal rethrow

2011-09-02 Thread romain.geissler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50274 Romain Geissler changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug bootstrap/50265] [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*

2011-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50265 --- Comment #3 from Dominique d'Humieres 2011-09-02 11:28:03 UTC --- > I'm sure it is. At least on x86_64-apple-darwin10 it is fixed by the patch for pr50260 at http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00052.html .

[Bug target/50275] New: [4.6 regression] libgcc build failure on LM32

2011-09-02 Thread philpem at philpem dot me.uk
checking whether /home/philpem/gcc/build-20110902-105609/gcc-4.6.0/build/./gcc/xgcc -B/home/philpem/gcc/build-20110902-105609/gcc-4.6.0/build/./gcc/ -nostdinc -B/home/philpem/gcc/build-20110902-105609/gcc-4.6.0/build/lm32-elf/newlib/ -isystem /home/philpem/gcc/build-20110902-105609/gcc-4.6.0/build/lm32

[Bug c++/50274] Conditionnal rethrow

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50274 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug go/46986] Go is not supported on Darwin

2011-09-02 Thread afb at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #13 from Anders F Björklund 2011-09-02 11:10:51 UTC --- Created attachment 25177 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25177 import-export.diff Just the import/export changes, i.e. outside "libgo" directory.

[Bug go/46986] Go is not supported on Darwin

2011-09-02 Thread afb at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #12 from Anders F Björklund 2011-09-02 11:07:33 UTC --- > It doesn't include the objcopy header, > but I believe that is skipped anyway ? Or at least it was *supposed* to ignore it, but the Stream_from_file was horribly buggy. (appar

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #15 from Richard Guenther 2011-09-02 11:02:22 UTC --- (In reply to comment #14) > > but for some reason it doesn't trigger? > > The bb containing the __builtin_stack_restore has 2 successors: > ... > : > D.2099_18 = MEM[(int *)&D.2

[Bug c++/50274] Conditionnal rethrow

2011-09-02 Thread romain.geissler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50274 --- Comment #1 from Romain Geissler 2011-09-02 11:00:50 UTC --- Created attachment 25176 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25176 Rethrow made in foo is not caught in main handler.

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #11 from Marc Glisse 2011-09-02 10:59:46 UTC --- (In reply to comment #10) > (by the way, if you can see a neat enough way to improve _M_are_all_aux, you > are welcome to propose it! I'm definitely not an expert in this area, and when

[Bug c++/50274] New: Conditionnal rethrow

2011-09-02 Thread romain.geissler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50274 Bug #: 50274 Summary: Conditionnal rethrow Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #10 from Paolo Carlini 2011-09-02 10:41:52 UTC --- (by the way, if you can see a neat enough way to improve _M_are_all_aux, you are welcome to propose it! I'm definitely not an expert in this area, and when I implemented it, I remembe

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 Paolo Carlini changed: What|Removed |Added Target Milestone|--- |4.6.2

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #14 from vries at gcc dot gnu.org 2011-09-02 10:28:52 UTC --- > but for some reason it doesn't trigger? The bb containing the __builtin_stack_restore has 2 successors: ... : D.2099_18 = MEM[(int *)&D.2129][5]{lb: 0 sz: 4}; __builti

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #9 from paolo at gcc dot gnu.org 2011-09-02 10:28:40 UTC --- Author: paolo Date: Fri Sep 2 10:28:36 2011 New Revision: 178463 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178463 Log: 2011-09-02 Paolo Carlini Marc

[Bug fortran/50273] [4.5/4.6/4.7 Regression] -Walign-commons no longer effective

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50273 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.5.4

[Bug fortran/50273] [4.5/4.6/4.7 Regression] -Walign-commons no longer effective

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50273 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/50273] New: [4.5/4.6/4.7 Regression] -Walign-commons no longer effective

2011-09-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50273 Bug #: 50273 Summary: [4.5/4.6/4.7 Regression] -Walign-commons no longer effective Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #13 from Richard Guenther 2011-09-02 09:42:13 UTC --- (In reply to comment #6) > fold_builtin_alloca_for_var should record stack alignment > change due to > > + /* Declare array. */ > + elem_type = build_nonstandard_integer_type (

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #12 from Richard Guenther 2011-09-02 09:40:33 UTC --- (In reply to comment #3) > Created attachment 25162 [details] > optimized dump > > 1. The alloca in main is transformed into this declaration: > >D.2129[24]; > > and accesse

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 Paolo Carlini changed: What|Removed |Added Attachment #25174|0 |1 is obsolete|

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #7 from Paolo Carlini 2011-09-02 09:37:55 UTC --- Hi, (In reply to comment #6) > Looks better indeed. I think the compiler should be responsible for optimizing > x&~0UL, not the library. I'll have to check that bitset<32>(x).count()

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #11 from vries at gcc dot gnu.org 2011-09-02 09:37:42 UTC --- The problems for testcases 20010209-1.c and stack-stave-restore.c can be reproduced on x86_64 using -mpreferred-stack-boundary=12.

[Bug c/50264] -Wdisabled-optimizations without -O generates strange errors

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50264 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug bootstrap/50265] [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50265 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/50260] [4.7 Regression] internal compiler error: Segmentation fault at ../../gcc/gcc/tree-ssa-live.c:88

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50260 Richard Guenther changed: What|Removed |Added CC||dominiq at lps dot ens.fr --- Comment

[Bug c++/50270] Some symbols are exported even when -fvisibility=hidden is used

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50270 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/48818] Wrong copy constructor used when using std::pair in .so and app.

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48818 Richard Guenther changed: What|Removed |Added CC||almeidaraf at gmail dot com --- Commen

[Bug tree-optimization/50272] A case that PRE optimization hurts performance

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50272 --- Comment #3 from Richard Guenther 2011-09-02 09:28:09 UTC --- Bah, stupid benchmarks ;)

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #10 from vries at gcc dot gnu.org 2011-09-02 09:24:33 UTC --- > The __builtin_stack_restore stays until ira (if we wouldn't by declaring p > global), The __builtin_stack_restore stays until ira (if we wouldn't declare p global, it woul

[Bug go/46986] Go is not supported on Darwin

2011-09-02 Thread afb at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #11 from Anders F Björklund 2011-09-02 09:06:25 UTC --- > OTOOL=${OTOOL:-otool} > $OTOOL -s __GNU_GO __go_export $1 | > grep -v "^$1:" | grep -v "Contents of (__GNU_GO,__go_export) section" | > cut -f 2- | tr -d ' ' | xxd -r -p - $2

[Bug middle-end/50251] [4.7 Regression] Revision 178353 caused many test failures

2011-09-02 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50251 --- Comment #9 from vries at gcc dot gnu.org 2011-09-02 09:03:54 UTC --- The following testcase reproduces the same failure without alloca, vla, or the 178353 patch. stack-stave-restore.c: ... extern void bar (int*); char *p; int main () { int

[Bug bootstrap/50265] [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*

2011-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50265 Dominique d'Humieres changed: What|Removed |Added CC||mjambor at suse dot cz --- Comment

[Bug go/46986] Go is not supported on Darwin

2011-09-02 Thread afb at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #10 from Anders F Björklund 2011-09-02 08:45:22 UTC --- Here's my attempt at a native version. (of that "gox-extract" shell script) Instead of the default variant: OBJCOPY=${OBJCOPY:-objcopy} $OBJCOPY -j .go_export $1 $2 The Darwin

[Bug middle-end/50266] [4.6/4.7 Regression] internal compiler error: in decode_addr_const, at varasm.c:2638

2011-09-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50266 Richard Guenther changed: What|Removed |Added Target||arm-linux-gnueabi Status|U

[Bug libstdc++/50268] [C++0x] bitset doesn't sanitize input

2011-09-02 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268 --- Comment #6 from Marc Glisse 2011-09-02 08:03:22 UTC --- (In reply to comment #5) > This one is much better, and actually should lead to slightly better code than > C++98, because we don't do anything if _Nw > 1 (the 32-bit case is also better

[Bug middle-end/50260] [4.7 Regression] internal compiler error: Segmentation fault at ../../gcc/gcc/tree-ssa-live.c:88

2011-09-02 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50260 --- Comment #4 from Joost VandeVondele 2011-09-02 07:27:30 UTC --- Patch posted at: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00052.html