Re: GCC stack backtraces

2012-08-30 Thread Florian Weimer
On 08/29/2012 09:22 AM, Ian Lance Taylor wrote: It uses the GCC unwind interface to collect a stack trace, and parses DWARF debug info to get file/line/function information. (Of course it's silly to write yet another DWARF reader, but I didn't find an existing reader that seemed wholly

Re: GCC stack backtraces

2012-08-30 Thread Florian Weimer
On 08/29/2012 08:40 PM, Toon Moene wrote: On 08/29/2012 06:21 PM, Ian Lance Taylor wrote: The DWARF reader calls malloc and is therefore not async-signal safe. It also is a problem if the crash in the program is due to overwriting the malloc heap administration (which easily occurs in

Issues with Installing GCC-3.0.4 on SCO

2012-08-30 Thread Kevin Ross
Hi, I am having issues trying to install GCC (3.0.4) on SCO 5.0.7 i386. I downloaded gcc-3.0.4.tar.gz from http://ftp.gnu.org/gnu/gcc/gcc-3.0.4/;, I then tried untarring the file, by: `gzip -dc gcc-3.0.4.tar.gz | tar xAvf - file-list 21` And that showed me a bunch of files, but no VOLS so I

cxx-conversion a good idea?

2012-08-30 Thread Nikos Fotoulis
Hi. The cxx-conversion idea does not come without its cons. The most important for us is that there will not be a plain gcc-core package that is smaller, builds faster a plain C compiler with a smaller binary and is able to bootstrap future versions of a plain C compiler made of the latest vesion

Re: cxx-conversion a good idea?

2012-08-30 Thread Andrew Haley
On 08/30/2012 01:43 PM, Nikos Fotoulis wrote: The cxx-conversion idea does not come without its cons. The most important for us is that there will not be a plain gcc-core package that is smaller, builds faster a plain C compiler with a smaller binary and is able to bootstrap future versions

Re: cxx-conversion a good idea?

2012-08-30 Thread Jonathan Wakely
On 30 August 2012 13:43, Nikos Fotoulis wrote: Hi. The cxx-conversion idea does not come without its cons. The most important for us is that there will not be a plain gcc-core package that is smaller, The GCC project doesn't make gcc-core tarballs any more anyway. Third-party packagers are

error when building trunk rev. 190799

2012-08-30 Thread niXman
Hello, I'm not sure about such errors should be reported, but I will try. Host compiler: gcc-4.7.1-MinGW-x86_64 x86_64-w64-mingw32-g++ -c -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual

Re: Thoughts on Gengtype and Single Inheritance

2012-08-30 Thread Richard Henderson
On 08/27/2012 11:58 AM, Lawrence Crowl wrote: I wonder if the second discriminator support is easily generalizable to enabling any derived class being a root class on it own with its own subtree? If I understand correctly, the GTY syntax would be the same. If I understand correctly, you

Re: Thoughts on Gengtype and Single Inheritance

2012-08-30 Thread Gabriel Dos Reis
On Thu, Aug 30, 2012 at 11:57 AM, Richard Henderson r...@redhat.com wrote: On 08/27/2012 11:58 AM, Lawrence Crowl wrote: I wonder if the second discriminator support is easily generalizable to enabling any derived class being a root class on it own with its own subtree? If I understand

Re: Thoughts on Gengtype and Single Inheritance

2012-08-30 Thread Lawrence Crowl
On 8/30/12, Richard Henderson r...@redhat.com wrote: On 08/27/2012 11:58 AM, Lawrence Crowl wrote: I wonder if the second discriminator support is easily generalizable to enabling any derived class being a root class on it own with its own subtree? If I understand correctly, the GTY syntax

Re: Thoughts on Gengtype and Single Inheritance

2012-08-30 Thread Lawrence Crowl
On 8/30/12, Gabriel Dos Reis g...@integrable-solutions.net wrote: On Aug 30, 2012 Richard Henderson r...@redhat.com wrote: On 08/27/2012 11:58 AM, Lawrence Crowl wrote: I wonder if the second discriminator support is easily generalizable to enabling any derived class being a root

Re: GCC stack backtraces

2012-08-30 Thread Ian Lance Taylor
On Thu, Aug 30, 2012 at 1:04 AM, Florian Weimer fwei...@redhat.com wrote: On 08/29/2012 09:22 AM, Ian Lance Taylor wrote: It uses the GCC unwind interface to collect a stack trace, and parses DWARF debug info to get file/line/function information. (Of course it's silly to write yet another

[RFC] gcc 4.8 vs glibc alias macros

2012-08-30 Thread Richard Henderson
Dunno if alpha is going to be the only glibc port to encounter this, if it should be considered a gcc bug, or what. Without this patch, using mainline gcc, I get ./../include/libc-symbols.h:485:26: error: ‘__EI___isnanf’ aliased to external symbol ‘__GI___isnanf’ extern __typeof (name)

Re: GCC stack backtraces

2012-08-30 Thread Lawrence Crowl
On 8/29/12, Gabriel Dos Reis g...@integrable-solutions.net wrote: On Aug 29, 2012 Ian Lance Taylor i...@google.com wrote: Does this seem like something we could usefully add to GCC? Emphatically, yes!. Seconded! Does anybody see any big problems with it? Can it would be a great addition

ANN: gcc-python-plugin 0.10

2012-08-30 Thread David Malcolm
gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the CPython interpreter within GCC, allowing you to write new compiler warnings for C/C++ in Python, generate code visualizations, etc. It comes with cpychecker: a tool for static analysis tool of CPython extensions. Tarball releases

Merging Cilk Plus into GCC Trunk

2012-08-30 Thread Iyer, Balaji V
Hello Everyone, The Cilk-Plus branch is feature-complete. Programs using Cilk Plus constructs get great performance on vector and multicore hardware. Programs that don't use the new language features (enabled by a -fcilkplus flag) see no change. For details please see

[libstdc++] Mis-configure _GLIBCXX_LONG_DOUBLE_COMPAT?

2012-08-30 Thread Richard Henderson
I've seen this today both for alpha and s390 cross from x86_64: libtool: compile: /home/rth/work/gcc/bld-s390/./gcc/xgcc -shared-libgcc -B/home/rth/work/gcc/bld-s390/./gcc -nostdinc++ -L/home/rth/work/gcc/bld-s390/s390x-linux/libstdc++-v3/src

[Bug testsuite/54397] [regression] gfortran.dg/guality/pr41558.f90

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54397 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug debug/53671] [4.8 Regression] Many guality test failures

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53671 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot

[Bug testsuite/54397] [regression] gfortran.dg/guality/pr41558.f90

2012-08-30 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54397 --- Comment #5 from Steve Kargl sgk at troutmask dot apl.washington.edu 2012-08-30 06:17:48 UTC --- On Thu, Aug 30, 2012 at 06:07:00AM +, jakub at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54397 Jakub Jelinek

[Bug testsuite/54397] [regression] gfortran.dg/guality/pr41558.f90

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54397 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-08-30 07:01:12 UTC --- You need GDB 7.5 (or the changes mentioned in the other PR backported). It doesn't make any sense to XFAIL the test, all debugging of code compiled by GCC 4.8

[Bug libstdc++/54392] [4.6/4.7/4.8 Regression] std::string::assign() fails to update length

2012-08-30 Thread michael.haubenwallner at salomon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54392 --- Comment #14 from Michael Haubenwallner michael.haubenwallner at salomon dot at 2012-08-30 07:33:16 UTC --- Indeed, the old buffer is freed before being copied. Yep, this isn't a regression. In fact, with 4.4.3 it was the /empty string/

[Bug libstdc++/54172] [4.7/4.8 Regression] __cxa_guard_acquire thread-safety issue

2012-08-30 Thread thiago at kde dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54172 --- Comment #4 from Thiago Macieira thiago at kde dot org 2012-08-30 07:52:31 UTC --- I'll post today. I haven't yet looked up which mailing list you're even talking about.

[Bug c++/54413] New: Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-08-30 Thread p4spam at hispeed dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 Bug #: 54413 Summary: Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing Classification: Unclassified

[Bug libstdc++/54172] [4.7/4.8 Regression] __cxa_guard_acquire thread-safety issue

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54172 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2012-08-30 08:19:56 UTC --- Send to both gcc-patches at gcc.gnu.org and libstdc++ at gcc.gnu.org. I think it would be better to send both hunks separately, as the first hunk is shorter

[Bug target/54414] New: ARM:mis-compiled prologue/epilogue on cortex-m0 when optimizing with -Os

2012-08-30 Thread amker.cheng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54414 Bug #: 54414 Summary: ARM:mis-compiled prologue/epilogue on cortex-m0 when optimizing with -Os Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug bootstrap/54415] New: GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq'

2012-08-30 Thread birender.singh at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54415 Bug #: 54415 Summary: GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq' Classification: Unclassified Product: gcc Version: 4.4.4

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

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

[Bug c++/54416] New: [4.8] ICE (segv) in codegen

2012-08-30 Thread simonb at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54416 Bug #: 54416 Summary: [4.8] ICE (segv) in codegen Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

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

[Bug libstdc++/54172] [4.7/4.8 Regression] __cxa_guard_acquire thread-safety issue

2012-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54172 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-08-30 09:56:44 UTC --- This is just the usual submission process, documented at http://gcc.gnu.org/contribute.html#patches

[Bug c++/54416] [4.7/4.8 Regression] ICE (segv) in codegen

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54416 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/54413] Option for turning off compiler extensions for -std=c++11 with respect to complex/fixed-point numbers missing

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54413 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-08-30 10:03:51 UTC --- Perhaps we should for i and r etc. suffixes in C++11+ first try to look it up as user-defined-literal and only if there are no corresponding operators, treat

[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54403 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Blocks||54367

[Bug target/54252] [4.7/4.8 Regression] Bad alignment code generated for Neon loads

2012-08-30 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54252 --- Comment #6 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2012-08-30 10:17:08 UTC --- Author: ramana Date: Thu Aug 30 10:17:04 2012 New Revision: 190800 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190800 Log: Fix PR target/54252

[Bug target/54414] ARM:mis-compiled prologue/epilogue on cortex-m0 when optimizing with -Os

2012-08-30 Thread amker.cheng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54414 --- Comment #1 from amker.cheng amker.cheng at gmail dot com 2012-08-30 10:17:15 UTC --- I suspect that the call of arm_size_return_regs in function thumb1_extra_regs_pushed should also be covered as in

[Bug target/54252] [4.7/4.8 Regression] Bad alignment code generated for Neon loads

2012-08-30 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54252 --- Comment #7 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2012-08-30 10:21:59 UTC --- Fixed now I believe on trunk.

[Bug target/54407] FAIL: 30_threads/condition_variable/54185.cc execution test program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10

2012-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2012-08-30 10:42:07 UTC --- (In reply to comment #0) On powerpc-apple-darwin9 and x86_64-apple-darwin10, the test 30_threads/condition_variable/54185.cc is timed out (from

[Bug lto/54417] New: lto1: internal compiler error: in edge_badness, at ipa-inline.c:793

2012-08-30 Thread einar.sjurso+gnu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54417 Bug #: 54417 Summary: lto1: internal compiler error: in edge_badness, at ipa-inline.c:793 Classification: Unclassified Product: gcc Version: 4.7.1 Status:

[Bug target/54418] New: [4.8 Regression] [SH] Invalid operands for opcode

2012-08-30 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54418 Bug #: 54418 Summary: [4.8 Regression] [SH] Invalid operands for opcode Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug target/54407] FAIL: 30_threads/condition_variable/54185.cc execution test program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10

2012-08-30 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407 --- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-08-30 12:53:54 UTC --- (In reply to comment #1) Do you mean does *not* happen on darwin12? Well, I don't have access to darwin11 nor 12, so the only thing I am sure of is

[Bug target/54418] [4.8 Regression] [SH] Invalid operands for opcode

2012-08-30 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54418 --- Comment #1 from Oleg Endo olegendo at gcc dot gnu.org 2012-08-30 13:11:30 UTC --- (In reply to comment #0) It seems that cmpgeusi_t insn_and_split doesn't do its work. (define_insn_and_split cmpgeusi_t [(set (reg:SI T_REG)

[Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps

2012-08-30 Thread g...@undo-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54365 --- Comment #5 from Greg Law g...@undo-software.com 2012-08-30 13:23:54 UTC --- -fwrapv doesn't appear to make a difference: $ gcc compilerbug.c $ ./a.out it wraps $ gcc -O2 compilerbug.c $ ./a.out no wrap $ gcc -O2 -fwrapv

[Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps

2012-08-30 Thread fweimer at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54365 --- Comment #6 from Florian Weimer fweimer at redhat dot com 2012-08-30 13:33:05 UTC --- (In reply to comment #5) -fwrapv doesn't appear to make a difference: $ gcc compilerbug.c $ ./a.out it wraps $ gcc -O2 compilerbug.c $ ./a.out

[Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps

2012-08-30 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54365 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2012-08-30 13:45:13 UTC --- This is not surprising, just use integer arithmetic instead of pointer arithmetic. Pointer arithmetic not only has undefined wrapping, it is defined only

[Bug rtl-optimization/54365] ARM optimization bug when pointer arithmetic wraps

2012-08-30 Thread fweimer at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54365 --- Comment #8 from Florian Weimer fweimer at redhat dot com 2012-08-30 13:56:04 UTC --- (In reply to comment #7) This is not surprising, just use integer arithmetic instead of pointer arithmetic. Pointer arithmetic not only has undefined

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-08-30 Thread htl10 at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 Hin-Tak Leung htl10 at users dot sourceforge.net changed: What|Removed |Added Attachment #27346|0 |1

[Bug bootstrap/54419] New: [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on x86_64-apple-darwin10

2012-08-30 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 Bug #: 54419 Summary: [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on x86_64-apple-darwin10 Classification: Unclassified Product: gcc

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-08-30 Thread htl10 at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #26 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-08-30 14:19:16 UTC --- (In reply to comment #22) snipped The sentence about newer versions is there for a reason. In fact, on Tru64 UNIX the situation is even worse:

[Bug c++/54420] New: Segmentation in decl_mangling_context

2012-08-30 Thread lukeocamden at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54420 Bug #: 54420 Summary: Segmentation in decl_mangling_context Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority:

[Bug middle-end/54409] [4.8 Regression] internal compiler error: in remap_predicate, at ipa-inline-analysis.c:2710

2012-08-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54409 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Component|c |middle-end ---

[Bug c++/54420] Segmentation fault in decl_mangling_context

2012-08-30 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54420 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC||markus

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-08-30 Thread htl10 at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #27 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-08-30 14:56:46 UTC --- FWIW, I just filed the MFPR 3.1.x make check issue: https://gforge.inria.fr/tracker/index.php?func=detailaid=14806group_id=136atid=619

[Bug rtl-optimization/50427] IRA fails to detect conflict

2012-08-30 Thread lalhee at wanadoo dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50427 Catherine Gasnier lalhee at wanadoo dot fr changed: What|Removed |Added CC||lalhee at

[Bug rtl-optimization/50427] IRA fails to detect conflict

2012-08-30 Thread lalhee at wanadoo dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50427 Catherine Gasnier lalhee at wanadoo dot fr changed: What|Removed |Added CC||lalhee at

[Bug target/54421] New: Extra movdqa when accessing quadwords in a 128-bit SSE register

2012-08-30 Thread Jeremie.Detrey at loria dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54421 Bug #: 54421 Summary: Extra movdqa when accessing quadwords in a 128-bit SSE register Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED

[Bug middle-end/54394] [4.8 Regression] fatigue2 -flto run time regression

2012-08-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54394 --- Comment #4 from Martin Jambor jamborm at gcc dot gnu.org 2012-08-30 15:32:53 UTC --- (In reply to comment #3) You can try whether it fixes your regression too. Yes, it does. Thanks. Great, thanks. Did you check if you get the same

[Bug libstdc++/54388] [4.7/4.8 Regression] std::array.at() const results in undefined behaviour

2012-08-30 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54388 --- Comment #9 from Benjamin Kosnik bkoz at gcc dot gnu.org 2012-08-30 15:36:18 UTC --- BTW, we definitely need a comment on why this particular code is so tricky. // NB: Interesting use of comma operator semantics. at the very least... ;)

[Bug libstdc++/54388] [4.7/4.8 Regression] std::array.at() const results in undefined behaviour

2012-08-30 Thread fweimer at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54388 --- Comment #10 from Florian Weimer fweimer at redhat dot com 2012-08-30 15:39:21 UTC --- (In reply to comment #9) BTW, we definitely need a comment on why this particular code is so tricky. // NB: Interesting use of comma operator

[Bug target/54252] [4.7/4.8 Regression] Bad alignment code generated for Neon loads

2012-08-30 Thread eric.batut at allegorithmic dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54252 --- Comment #8 from Eric Batut eric.batut at allegorithmic dot com 2012-08-30 15:52:20 UTC --- The original bug instance is fixed on trunk (rev 190803). I had what I think is another instance of the same bug, where the error message is alignment

[Bug tree-optimization/53787] Possible IPA-SRA / IPA-CP improvement

2012-08-30 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53787 --- Comment #11 from Martin Jambor jamborm at gcc dot gnu.org 2012-08-30 15:58:40 UTC --- The aggregate functions and their use in inlining/ipa-cp heuristics is in, at least with my PHI predicate computing patch which I re-submitted today we even

[Bug tree-optimization/54422] New: Merge adjacent stores of elements of a vector (or loads)

2012-08-30 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54422 Bug #: 54422 Summary: Merge adjacent stores of elements of a vector (or loads) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug other/54423] New: building trunk on Darwin 12.1 fails in building libraries

2012-08-30 Thread nenad at intrepid dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54423 Bug #: 54423 Summary: building trunk on Darwin 12.1 fails in building libraries Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug target/54407] FAIL: 30_threads/condition_variable/54185.cc execution test program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10

2012-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54407 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-08-30 16:40:48 UTC --- I don't know of any workaround so disabling the test seems like a good option

[Bug target/54252] [4.7/4.8 Regression] Bad alignment code generated for Neon loads

2012-08-30 Thread ramrad01 at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54252 --- Comment #9 from ramrad01 at arm dot com 2012-08-30 16:48:12 UTC --- On 30/08/12 16:52, eric.batut at allegorithmic dot com wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54252 --- Comment #8 from Eric Batut eric.batut at allegorithmic

[Bug middle-end/54417] lto1: internal compiler error: in edge_badness, at ipa-inline.c:793 with -profile-generate/profile-use

2012-08-30 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54417 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|lto |middle-end

[Bug c++/54424] New: Compiler crash with -std=gnu++0x

2012-08-30 Thread nadia.cavallero at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54424 Bug #: 54424 Summary: Compiler crash with -std=gnu++0x Classification: Unclassified Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/54425] New: Rvalue/Lvalue overload resolution of templated function

2012-08-30 Thread leonid at volnitsky dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54425 Bug #: 54425 Summary: Rvalue/Lvalue overload resolution of templated function Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3

2012-08-30 Thread htl10 at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959 --- Comment #28 from Hin-Tak Leung htl10 at users dot sourceforge.net 2012-08-30 17:32:35 UTC --- (In reply to comment #22) There are two curious things: 1. why does the 2nd stage drops to only about 600 byte. (I assume 20-30k is normal).

[Bug target/54418] [4.8 Regression] [SH] Invalid operands for opcode

2012-08-30 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54418 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug testsuite/48251] guality_check hangs indefinitely on Tru64 UNIX

2012-08-30 Thread htl10 at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48251 Hin-Tak Leung htl10 at users dot sourceforge.net changed: What|Removed |Added CC||htl10

[Bug fortran/54426] New: [4.8 Regression] FAIL: gfortran.dg/common_6.f90 -O (internal compiler error) on powerpc-apple-darwin9

2012-08-30 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54426 Bug #: 54426 Summary: [4.8 Regression] FAIL: gfortran.dg/common_6.f90 -O (internal compiler error) on powerpc-apple-darwin9 Classification: Unclassified Product: gcc Version:

[Bug libstdc++/54005] Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free

2012-08-30 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54005 --- Comment #13 from Benjamin Kosnik bkoz at gcc dot gnu.org 2012-08-30 19:25:03 UTC --- Author: bkoz Date: Thu Aug 30 19:24:58 2012 New Revision: 190810 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190810 Log: 2012-08-30 Benjamin Kosnik

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-08-30 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Target|x86_64-apple-darwin10

[Bug rtl-optimization/50427] IRA fails to detect conflict

2012-08-30 Thread bigotp at acm dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50427 --- Comment #4 from Peter A. Bigot bigotp at acm dot org 2012-08-30 19:55:41 UTC --- Thanks for the suggestion. At the time this bug was reported, REGMODE_NATURAL_SIZE was not used as the target supported only 16-bit registers, so I don't

[Bug c++/54427] New: Expose more vector extensions

2012-08-30 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54427 Bug #: 54427 Summary: Expose more vector extensions Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-08-30 Thread drepper.fsp at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #2 from Ulrich Drepper drepper.fsp at gmail dot com 2012-08-30 20:19:35 UTC --- The instruction is generated by the compiler. If you try to compile a new compiler you have to make sure the tools used are recent enough to understand

[Bug c/54428] New: ICE in gimplify_expr, at gimplify.c:7591

2012-08-30 Thread kyle.niemeyer at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54428 Bug #: 54428 Summary: ICE in gimplify_expr, at gimplify.c:7591 Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/54419] [4.8 Regression] Compiling libstdc++-v3/src/c++11/random.cc fails on platforms not knowing rdrand

2012-08-30 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419 --- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr 2012-08-30 20:37:59 UTC --- The instruction is generated by the compiler. If you try to compile a new compiler you have to make sure the tools used are recent enough to

[Bug tree-optimization/54422] Merge adjacent stores of elements of a vector (or loads)

2012-08-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54422 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/54425] Rvalue/Lvalue overload resolution of templated function

2012-08-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54425 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug target/54418] [4.8 Regression] [SH] Invalid operands for opcode

2012-08-30 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54418 --- Comment #2 from Oleg Endo olegendo at gcc dot gnu.org 2012-08-30 22:18:34 UTC --- Unfortunately I was not able to reproduce this case without the -fopenmp option, and that option requires threads, which are not available on the sh-sim config

[Bug target/54429] New: [SH] SImode values get ferried through FPUL and FP regs for -O0

2012-08-30 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54429 Bug #: 54429 Summary: [SH] SImode values get ferried through FPUL and FP regs for -O0 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug target/51244] SH Target: Inefficient conditional branch

2012-08-30 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244 --- Comment #49 from Oleg Endo olegendo at gcc dot gnu.org 2012-08-30 22:54:23 UTC --- Kaz, if you have some time, could you please gather some CSiBE runtime numbers for '-mpretend-cmove' and without it? I've compared the result-size of the

[Bug c++/54430] New: [C++11] Range Based For Loop lhs scoping issue

2012-08-30 Thread mrks at koios dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 Bug #: 54430 Summary: [C++11] Range Based For Loop lhs scoping issue Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

Re: [Bug other/54398] New: Incorrect ARM assembly when building with -fno-omit-frame-pointer -O2

2012-08-30 Thread Ramana Radhakrishnan
On 29 Aug 2012, at 01:21, asharif at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54398 Bug #: 54398 Summary: Incorrect ARM assembly when building with -fno-omit-frame-pointer -O2 Classification:

[Bug other/54398] Incorrect ARM assembly when building with -fno-omit-frame-pointer -O2

2012-08-30 Thread ramana.radhakrishnan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54398 --- Comment #1 from Ramana Radhakrishnan ramana.radhakrishnan at gmail dot com 2012-08-30 23:32:42 UTC --- On 29 Aug 2012, at 01:21, asharif at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54398

[Bug c++/54431] New: [C++11] g++ crashes when compiling the following file

2012-08-30 Thread m101010a at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54431 Bug #: 54431 Summary: [C++11] g++ crashes when compiling the following file Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/54369] Delayed-branch pass in reorg.c removes too many instructions

2012-08-30 Thread sje at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 Steve Ellcey sje at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW --- Comment #2

[Bug rtl-optimization/54369] Delayed-branch pass in reorg.c removes too many instructions

2012-08-30 Thread chaoyingfu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 --- Comment #3 from chaoyingfu at gcc dot gnu.org chaoyingfu at gcc dot gnu.org 2012-08-31 00:38:39 UTC --- The fall-through path of this jump has a barrier (resulted from __builtin_unreachable), and the target of this jump has a return

[Bug libobjc/54432] New: Memory leak when linking libobjc with gcc

2012-08-30 Thread karlkrch at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54432 Bug #: 54432 Summary: Memory leak when linking libobjc with gcc Classification: Unclassified Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: major

[Bug libobjc/54432] Memory leak when linking libobjc with gcc

2012-08-30 Thread karlkrch at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54432 --- Comment #1 from Karl Kirch karlkrch at gmail dot com 2012-08-31 02:06:50 UTC --- Another test case. Looks like I end up with lost memory for every class I define. #include objc/Object.h @interface Test : Object {} @end @implementation

[Bug libobjc/54432] Memory leak when linking libobjc with gcc

2012-08-30 Thread karlkrch at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54432 --- Comment #2 from Karl Kirch karlkrch at gmail dot com 2012-08-31 02:10:38 UTC --- GCC info gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info

[Bug libobjc/54432] Memory leak when linking libobjc with gcc

2012-08-30 Thread karlkrch at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54432 --- Comment #3 from Karl Kirch karlkrch at gmail dot com 2012-08-31 02:11:48 UTC --- GCC info gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info

[Bug c/54433] New: bogus -Wmissing-format-attribute warnings when first to check is wrong

2012-08-30 Thread b.r.longbons at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54433 Bug #: 54433 Summary: bogus -Wmissing-format-attribute warnings when first to check is wrong Classification: Unclassified Product: gcc Version: 4.6.2 Status:

[Bug c++/50545] [C++0x][DR 1172] SFINAE does not handle an explicit type conversion (functional notation) with a braced-init-list well if target type is not dependent

2012-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50545 --- Comment #2 from Jason Merrill jason at gcc dot gnu.org 2012-08-31 02:50:33 UTC --- Author: jason Date: Fri Aug 31 02:50:28 2012 New Revision: 190830 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190830 Log: PR c++/50545 PR

[Bug c++/51222] [C++11][SFINAE] Unevaluated combined delete new expression completely broken

2012-08-30 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51222 --- Comment #6 from Jason Merrill jason at gcc dot gnu.org 2012-08-31 02:50:35 UTC --- Author: jason Date: Fri Aug 31 02:50:28 2012 New Revision: 190830 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190830 Log: PR c++/50545 PR

[Bug c/54428] ICE in gimplify_expr, at gimplify.c:7591

2012-08-30 Thread polacek at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54428 Marek Polacek polacek at redhat dot com changed: What|Removed |Added CC||polacek at

[Bug c/54428] ICE in gimplify_expr, at gimplify.c:7591

2012-08-30 Thread polacek at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54428 --- Comment #2 from Marek Polacek polacek at redhat dot com 2012-08-31 05:46:07 UTC --- Reduced. Note that the typedef is needed to trigger ICE. typedef double _Complex fftw_complex; extern fftw_complex *fftw_alloc_complex (int); int cf (int

Re: [PATCH, libstdc++] Make empty std::string storage readonly

2012-08-30 Thread Jonathan Wakely
On 29 August 2012 13:25, Michael Haubenwallner wrote: On 08/28/2012 08:12 PM, Jonathan Wakely wrote: On 28 August 2012 18:27, Michael Haubenwallner wrote: Does it actually produce a segfault? I suppose it might on some platforms, but not all, so I'm not sure it's worth changing. It does

  1   2   >