[Bug debug/51156] New: build glibc-2.11

2011-11-15 Thread cpliviu at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51156 Bug #: 51156 Summary: build glibc-2.11 Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/51154] internal compiler error: gimplification failed

2011-11-15 Thread cas43 at cs dot stanford.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154 --- Comment #2 from Craig Schroeder 2011-11-16 07:30:12 UTC --- Created attachment 25835 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25835 Another file variant causing a third diagnostic on ICE. This variant on the file produces the foll

[Bug c++/51154] internal compiler error: gimplification failed

2011-11-15 Thread cas43 at cs dot stanford.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154 --- Comment #1 from Craig Schroeder 2011-11-16 07:28:29 UTC --- Created attachment 25834 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25834 Variation on same source causing failure with different message. This variant on the source file I

[Bug c++/51155] New: sizeof and sizeof... in template partial specialization

2011-11-15 Thread pubby.8 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51155 Bug #: 51155 Summary: sizeof and sizeof... in template partial specialization Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED S

[Bug c++/51154] New: internal compiler error: gimplification failed

2011-11-15 Thread cas43 at cs dot stanford.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154 Bug #: 51154 Summary: internal compiler error: gimplification failed Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/51153] OpenACC implementation

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51153 --- Comment #2 from Andrew Pinski 2011-11-16 06:53:11 UTC --- http://efytimes.com/e1/fullnews.asp?edid=73401 So from the sound of it, it is being merged with openmp.

[Bug target/51153] OpenACC implementation

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51153 --- Comment #1 from Andrew Pinski 2011-11-16 06:46:43 UTC --- Hmm, openacc's pragma look very close to openmp.

[Bug target/51153] New: OpenACC implementation

2011-11-15 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51153 Bug #: 51153 Summary: OpenACC implementation Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug c++/51152] error: X has no member named Y on code that seems valid

2011-11-15 Thread cas43 at cs dot stanford.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51152 --- Comment #1 from Craig Schroeder 2011-11-16 06:14:29 UTC --- Created attachment 25832 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25832 File that fails to compile cleanly.

[Bug c++/51152] New: error: X has no member named Y on code that seems valid

2011-11-15 Thread cas43 at cs dot stanford.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51152 Bug #: 51152 Summary: error: X has no member named Y on code that seems valid Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/51151] New: Invalid -Woverflow warning in C++ frontend

2011-11-15 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51151 Bug #: 51151 Summary: Invalid -Woverflow warning in C++ frontend Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-15 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 --- Comment #2 from Jeffrey Yasskin 2011-11-16 05:30:12 UTC --- And here's a similar test case using static_cast instead of ->: $ cat test.ii template void Foo(int val) { const int now = static_cast(val); } $ g++ -std=c++0x test.ii -fsyntax-

[Bug c++/51150] [C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type

2011-11-15 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Jeffrey Yasskin changed: What|Removed |Added Summary|[C++11][4.6 Regression] ICE |[C++11][4.6/4.7 Regression]

[Bug c++/51150] New: [C++11][4.6 Regression] ICE when result of -> initializes const variable of different type

2011-11-15 Thread jyasskin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51150 Bug #: 51150 Summary: [C++11][4.6 Regression] ICE when result of -> initializes const variable of different type Classification: Unclassified Product: gcc Version: 4.6.3

[Bug c++/51149] New: Smarter error output in a few template deduction/substitution failure cases

2011-11-15 Thread darlingmoff at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51149 Bug #: 51149 Summary: Smarter error output in a few template deduction/substitution failure cases Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNC

[Bug target/51134] [4.7 Regression] x86 memset/memcpy expansion is broken

2011-11-15 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51134 --- Comment #6 from H.J. Lu 2011-11-16 01:56:08 UTC --- On Linux/ia32, If you configure GCC with --with-arch=core2 --with-cpu=atom you will get bin/sh ../../src-trunk/gcc/../move-if-change tmp-check.h tree-check.h *** glibc detected *** build/

[Bug c/51147] attribute((mode(byte))) on an enum generates wrong code

2011-11-15 Thread pkoning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51147 --- Comment #2 from Paul Koning 2011-11-16 01:47:27 UTC --- Thanks, I'll give that a try for another workaround.

[Bug c++/51148] New: [C++0x] Unexpanded template param packs wrongly accepted in friend class declarations

2011-11-15 Thread ai.azuma at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51148 Bug #: 51148 Summary: [C++0x] Unexpanded template param packs wrongly accepted in friend class declarations Classification: Unclassified Product: gcc Version: 4.7.0 S

[Bug middle-end/51144] r181279 possibly miscompilation of genmddeps

2011-11-15 Thread sje at cup dot hp.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144 --- Comment #3 from Steve Ellcey 2011-11-16 00:43:15 UTC --- I think this is a big-endian bug in fprint_whex, etc. IA64 HP-UX is big endian and I think s390-ibm-linux is too.

[Bug middle-end/51144] r181279 possibly miscompilation of genmddeps

2011-11-15 Thread sje at cup dot hp.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144 Steve Ellcey changed: What|Removed |Added Target|s390-ibm-linux |s390-ibm-linux,ia64-hp-hpux

[Bug lto/51105] [4.7 Regression] FAIL: gcc.c-torture/execute/920501-1.c compilation, -O2 -flto -flto-partition=none

2011-11-15 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51105 --- Comment #5 from Hans-Peter Nilsson 2011-11-16 00:11:37 UTC --- (In reply to comment #4) > > Please fill in (host and) target fields. > What for? AFAICT the field should be *-*-* with lto enabled. A *-*-* would certainly be better than empty,

[Bug libstdc++/51142] [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 --- Comment #5 from paolo at gcc dot gnu.org 2011-11-15 23:28:54 UTC --- Author: paolo Date: Tue Nov 15 23:28:49 2011 New Revision: 181394 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181394 Log: 2011-11-15 Paolo Carlini PR libs

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #9 from Paolo Carlini 2011-11-15 23:27:43 UTC --- Jon, I think I understand what you are saying, but then we have one more reason to not consider this sort of issue as , because linking libm, with a clog in user code with a different

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #8 from Jonathan Wakely 2011-11-15 23:10:37 UTC --- (N.B. we do name clog, but only for std::clog, the standard ostream ;) If you link dynamically to libm.so then the clog symbol can be replaced by symbol interposition. If a user doe

[Bug c/51147] attribute((mode(byte))) on an enum generates wrong code

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51147 --- Comment #1 from Andrew Pinski 2011-11-15 23:06:26 UTC --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15224 fixed the ICE .. Note using attribute packed is more likely what you want to do rather than using mode.

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #7 from Paolo Carlini 2011-11-15 23:05:17 UTC --- I just want to reiterate that the c++ library headers never name clog, only __builtin_clog (and of course only when the underlying libc provides the corresponding clog, in case runtime

[Bug c/51147] attribute((mode(byte))) on an enum generates wrong code

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51147 Andrew Pinski changed: What|Removed |Added Severity|major |normal

[Bug c/51147] attribute((mode(byte))) on an enum generates wrong code

2011-11-15 Thread pkoning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51147 Paul Koning changed: What|Removed |Added Priority|P3 |P2 Known to fail|

[Bug c/51147] New: attribute((mode(byte))) on an enum generates wrong code

2011-11-15 Thread pkoning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51147 Bug #: 51147 Summary: attribute((mode(byte))) on an enum generates wrong code Classification: Unclassified Product: gcc Version: 4.5.1 Status: UNCONFIRMED S

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #6 from joseph at codesourcery dot com 2011-11-15 22:28:38 UTC --- I think this is really a duplicate of an issue discussed in various places before: libstdc++ relies on C library symbols that are not necessarily reserved by the sele

[Bug bootstrap/51086] [4.7 regression] ICE in move_insn, at haifa-sched.c:3437

2011-11-15 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51086 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug bootstrap/51086] [4.7 regression] ICE in move_insn, at haifa-sched.c:3437

2011-11-15 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51086 --- Comment #7 from Alan Modra 2011-11-15 22:10:51 UTC --- Author: amodra Date: Tue Nov 15 22:10:46 2011 New Revision: 181391 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181391 Log: PR rtl-optimization/51051 PR bootstrap/51086

[Bug rtl-optimization/51051] [4.7 Regression]: build fails on cris-elf building libstdc++-v3

2011-11-15 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51051 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug rtl-optimization/51051] [4.7 Regression]: build fails on cris-elf building libstdc++-v3

2011-11-15 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51051 --- Comment #9 from Alan Modra 2011-11-15 22:10:51 UTC --- Author: amodra Date: Tue Nov 15 22:10:46 2011 New Revision: 181391 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181391 Log: PR rtl-optimization/51051 PR bootstrap/51086

[Bug bootstrap/51006] bootstrap fails on NetBSD 5.1

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51006 Jonathan Wakely changed: What|Removed |Added CC||kristerw at gcc dot |

[Bug gcov-profile/51113] [4.7 regression] rev. 181105 causes Firefox profiledbuild failure

2011-11-15 Thread nathan at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51113 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug bootstrap/48879] Compilation cannot find file asm/errno.h

2011-11-15 Thread davek at 6thstreetradio dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879 davek at 6thstreetradio dot org changed: What|Removed |Added CC||davek at 6thstreetradio d

[Bug c++/51138] [C++0x] [4.6 Regression] Uninitialized list elements

2011-11-15 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51138 --- Comment #5 from Jason Merrill 2011-11-15 20:58:12 UTC --- Backporting that patch doesn't fix the testcase in 4.6.

[Bug c++/51143] [C++11][DR1159] Alias template allows class definition

2011-11-15 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51143 Jason Merrill changed: What|Removed |Added CC|jason at redhat dot com |dodji at gcc dot gnu.org,

[Bug c++/51145] [C++11][DR1131] Alias template in elaborated-type-specifier accepted

2011-11-15 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51145 Jason Merrill changed: What|Removed |Added CC|jason at redhat dot com |dodji at gcc dot gnu.org,

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #4 from Andrew Pinski 2011-11-15 20:20:48 UTC --- (In reply to comment #3) > For sure in the library there is nothing to fix, note in particular that the > implementation does not include , neither names clog, only > __builtin_clog.

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #5 from Paolo Carlini 2011-11-15 20:26:23 UTC --- I suppose, yes.

[Bug gcov-profile/51113] [4.7 regression] rev. 181105 causes Firefox profiledbuild failure

2011-11-15 Thread nathan at acm dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51113 --- Comment #8 from Nathan Sidwell 2011-11-15 20:12:33 UTC --- On 11/15/11 10:03, markus at trippelsdorf dot de wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51113 > > With your patch: > % c++ -shared -w -o /dev/null -fPIC -fno-rtti -pt

[Bug c++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 Paolo Carlini changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #3 from Paolo Carlini 20

[Bug target/51134] [4.7 Regression] x86 memset/memcpy expansion is broken

2011-11-15 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51134 H.J. Lu changed: What|Removed |Added Target Milestone|--- |4.7.0 Summary|[4.7 Regression] FAIL:

[Bug libstdc++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread alpha_lc at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 --- Comment #2 from alpha_lc at hotmail dot com 2011-11-15 19:56:15 UTC --- (In reply to comment #1) > Well the issue is clog is a C99 name for complex log. I don't have my C++ > standard in front of me but I do know some names are reserved even a

[Bug libstdc++/51146] The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ Severity|major

[Bug c++/51146] New: The name clog for a global variable triggers a segfault inside std::pow

2011-11-15 Thread alpha_lc at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51146 Bug #: 51146 Summary: The name clog for a global variable triggers a segfault inside std::pow Classification: Unclassified Product: gcc Version: unknown Status: UNCON

[Bug c++/51145] New: [C++11][DR1131] Alias template in elaborated-type-specifier accepted

2011-11-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51145 Bug #: 51145 Summary: [C++11][DR1131] Alias template in elaborated-type-specifier accepted Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRME

[Bug middle-end/51144] r181279

2011-11-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144 Andrew Pinski changed: What|Removed |Added Keywords||build Component|bootstrap

[Bug bootstrap/51144] r181279

2011-11-15 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144 Andreas Krebbel changed: What|Removed |Added Target||s390-ibm-linux Priority|P3

[Bug c++/51143] New: [C++11][DR1159] Alias template allows class definition

2011-11-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51143 Bug #: 51143 Summary: [C++11][DR1159] Alias template allows class definition Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/51144] New: r181279

2011-11-15 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51144 Bug #: 51144 Summary: r181279 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug c++/51138] [C++0x] [4.6 Regression] Uninitialized list elements

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51138 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4 f

Re: Different linking behavior between g++ 4.5.2 and 4.6.1

2011-11-15 Thread Carlo Pinciroli
Thank you very much Andrew, your suggestion indeed solved the problem. And thanks also for your fast answer! :-) Cheers, Carlo On Tue, Nov 15, 2011 at 6:49 PM, Andrew Pinski wrote: > On Tue, Nov 15, 2011 at 9:34 AM, Carlo Pinciroli wrote: >> >> Dear forum, >> >> I have a problem with linking of

[Bug c++/51138] [C++0x] [4.6 Regression] Uninitialized list elements

2011-11-15 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51138 --- Comment #3 from H.J. Lu 2011-11-15 18:36:09 UTC --- It is fixed by revision 175640: http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg01131.html

[Bug c++/39658] [C++0x] "wrong number of template arguments" in variadic template specialization

2011-11-15 Thread meadori at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39658 Meador Inge changed: What|Removed |Added CC||meadori at gmail dot com --- Comment #1 fro

Re: Different linking behavior between g++ 4.5.2 and 4.6.1

2011-11-15 Thread Andrew Pinski
On Tue, Nov 15, 2011 at 9:34 AM, Carlo Pinciroli wrote: > > Dear forum, > > I have a problem with linking of a program I have wrote. Instead of giving > you the entire program, which is pretty large, I have prepared a basic > example that you can find attached to this message. The example uses CMa

Re: Different linking behavior between g++ 4.5.2 and 4.6.1

2011-11-15 Thread Jonathan Wakely
This is the gcc-bugs list, for automated mails from our Bugzilla database. Your email should probably have been sent to the gcc-help list. http://gcc.gnu.org/lists.html

Different linking behavior between g++ 4.5.2 and 4.6.1

2011-11-15 Thread Carlo Pinciroli
Dear forum, I have a problem with linking of a program I have wrote. Instead of giving you the entire program, which is pretty large, I have prepared a basic example that you can find attached to this message. The example uses CMake to compile. I have three files: = LIB2.CPP = #include

[Bug libstdc++/51142] [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlini

[Bug libstdc++/51142] [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 --- Comment #4 from Jonathan Wakely 2011-11-15 16:59:32 UTC --- oh yeah, I forgot about that!

[Bug libstdc++/51142] [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot

[Bug libstdc++/51142] [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 --- Comment #2 from Jonathan Wakely 2011-11-15 16:36:30 UTC --- reduced: #include struct X { X(...); }; bool operator<(X,X); typedef __gnu_debug::map< X, unsigned > M; int main() { M m; m.erase( X() ); }

[Bug other/50775] Register allocator sets up frame and frame pointer with low register pressure

2011-11-15 Thread denisc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50775 --- Comment #3 from denisc at gcc dot gnu.org 2011-11-15 16:35:05 UTC --- Created attachment 25829 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25829 RA dump

[Bug target/51134] [4.7 Regression] FAIL: gfortran.fortran-torture/execute/arrayarg.f90

2011-11-15 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51134 --- Comment #5 from H.J. Lu 2011-11-15 16:34:22 UTC --- (In reply to comment #4) > Hi, > the bug is loopy epilogue not being used because promoted value is not > availbale. The non-loopy epilogue does not expect alignments > greater than 16. > >

[Bug other/50775] Register allocator sets up frame and frame pointer with low register pressure

2011-11-15 Thread denisc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50775 denisc at gcc dot gnu.org changed: What|Removed |Added CC||denisc at gcc dot gnu.org,

[Bug libstdc++/51142] [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/51142] New: [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.

2011-11-15 Thread pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51142 Bug #: 51142 Summary: [C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG. Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED

[Bug tree-optimization/51117] [4.7 regression] rev.181172 causes glibc build failure

2011-11-15 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51117 Michael Matz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug libfortran/51119] MATMUL slow for large matrices

2011-11-15 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #5 from Janne Blomqvist 2011-11-15 15:47:54 UTC --- (In reply to comment #3) > I believe it would be more important to have actually highly efficient > (inlined) implementations for very small matrices. There's already PR 37131 for t

[Bug fortran/51056] [4.7 Regression][OOP] Bogus "Unused module variable '__vtab_domain_Domain_container'"

2011-11-15 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51056 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|una

[Bug bootstrap/51086] [4.7 regression] ICE in move_insn, at haifa-sched.c:3437

2011-11-15 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51086 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE 2011-11-15 15:19:45 UTC --- > --- Comment #5 from Alan Modra 2011-11-14 22:00:20 > UTC --- > Please try http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01685.html Works like a charm: an all,ad

[Bug middle-end/50823] [4.7 Regression] ICE in inline_small_functions, at ipa-inline.c:1407

2011-11-15 Thread ohsumit at molbio dot mgh.harvard.edu
-O2 or -O3 is set. (Are these the only times inline optimizations are performed?) Unfortunately, I do not have a small test case. The includes come out to be about 2M in size. ohsumit@mothra:~> g++ --version g++ (GCC) 4.7.0 20111115 (experimental) Copyright (C) 2011 Free Software Foundat

[Bug c++/20681] [4.4/4.5/4.6/4.7 Regression] wrong "control reaches" warning with switches

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20681 --- Comment #32 from Jonathan Wakely 2011-11-15 14:53:13 UTC --- (In reply to comment #31) > gcc -Wreturn-type -c r.c > r.c: In function 'bar': > r.c:8:1: warning: control reaches end of non-void function [-Wreturn-type] > > enum foo { e_1 }; >

[Bug c++/51141] [4.7 regression] rev181359 causes Chromium build failure

2011-11-15 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51141 fabien at gcc dot gnu.org changed: What|Removed |Added AssignedTo|unassigned at gcc dot |fabien at gcc dot gnu.org

[Bug lto/51105] [4.7 Regression] FAIL: gcc.c-torture/execute/920501-1.c compilation, -O2 -flto -flto-partition=none

2011-11-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51105 --- Comment #4 from Dominique d'Humieres 2011-11-15 14:19:40 UTC --- > Please fill in (host and) target fields. What for? AFAICT the field should be *-*-* with lto enabled. If I fill a bug report, it is because I see it on one of the machines I

[Bug rtl-optimization/17838] spills are not re-used

2011-11-15 Thread tstdenis at elliptictech dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838 --- Comment #10 from Tom St Denis 2011-11-15 14:20:07 UTC --- Another update ... We've just profiled our crypto library and across the board [cipher, hashes, PK functions like RSA/ECC] GCC is a complete loser against ARMcc [r713]. And it's not t

[Bug c/51101] i386-rtems fails to compile dwarf2asm.c

2011-11-15 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51101 --- Comment #2 from Joel Sherrill 2011-11-15 14:16:04 UTC --- Still present.. Tue Nov 15 14:08:04 UTC 2011 (revision 181384)

[Bug c++/20681] [4.4/4.5/4.6/4.7 Regression] wrong "control reaches" warning with switches

2011-11-15 Thread dimhen at gmail dot com
switch(x) { case e_1: return 0; } } gcc version 4.7.0 2015 (experimental) [trunk revision 181378] (GCC)

[Bug tree-optimization/51136] [4.7 Regression] ICE: SIGSEGV in unlink_virtual_phi (tree-flow-inline.h:427) with -O2 -fno-tree-dominator-opts (-ftree-tail-merge)

2011-11-15 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51136 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/51136] [4.7 Regression] ICE: SIGSEGV in unlink_virtual_phi (tree-flow-inline.h:427) with -O2 -fno-tree-dominator-opts (-ftree-tail-merge)

2011-11-15 Thread vries at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51136 --- Comment #1 from vries at gcc dot gnu.org 2011-11-15 14:00:44 UTC --- Created attachment 25827 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25827 tentative patch The problem is that in update_vuses, we're removing the def of the def-use-

[Bug c++/51141] New: [4.7 regression] rev181359 causes Chromium build failure

2011-11-15 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51141 Bug #: 51141 Summary: [4.7 regression] rev181359 causes Chromium build failure Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug target/51134] [4.7 Regression] FAIL: gfortran.fortran-torture/execute/arrayarg.f90

2011-11-15 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51134 --- Comment #4 from Jan Hubicka 2011-11-15 13:28:42 UTC --- Hi, the bug is loopy epilogue not being used because promoted value is not availbale. The non-loopy epilogue does not expect alignments greater than 16. I am testing the following patch

[Bug libstdc++/51140] libstdc++-v3/libsupc++/eh_tm.cc:48: undefined reference to `___sync_sub_and_fetch_4'

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51140 --- Comment #2 from Jonathan Wakely 2011-11-15 13:12:20 UTC --- That guard should be added to eh_tm.cc but ... don't build for i386-* because that targets the 80386 processor, which doesn't have the required atomic operations, and I *really doub

[Bug libstdc++/51133] Incorrect implementation of std::tr1::hermite()

2011-11-15 Thread 3dw4rd at verizon dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51133 --- Comment #14 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2011-11-15 12:48:06 UTC --- I'm glad to see renewed interest in this. I wasn't sure if anyone else had used these routines ;-) Anyway, one thing I would like us to look at is ISO/

[Bug c++/51139] c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread sp at comsulting dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 --- Comment #6 from Sven Passig 2011-11-15 12:44:45 UTC --- (In reply to comment #5) > http://gcc.gnu.org/viewcvs/trunk/gcc/cp/ChangeLog > (although sometimes fetching that page times out because there are a LOT of > revisions to that file) than

[Bug c++/51139] c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 --- Comment #5 from Jonathan Wakely 2011-11-15 12:40:22 UTC --- All commits are sent to http://gcc.gnu.org/ml/gcc-cvs/ Or you can look at http://gcc.gnu.org/viewcvs/ at the ChangeLog files. e.g. for the C++ front end: http://gcc.gnu.org/viewcvs

[Bug libstdc++/51140] libstdc++-v3/libsupc++/eh_tm.cc:48: undefined reference to `___sync_sub_and_fetch_4'

2011-11-15 Thread cestrauss at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51140 --- Comment #1 from Cesar Strauss 2011-11-15 12:39:50 UTC --- (In reply to comment #0) > There is another use of __sync_sub_and_fetch in > libstdc++-v3/libsupc++/eh_tm.cc, I meant libstdc++-v3/libsupc++/eh_throw.cc. > and there it is guarded by

[Bug target/51134] [4.7 Regression] FAIL: gfortran.fortran-torture/execute/arrayarg.f90

2011-11-15 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51134 --- Comment #3 from Jan Hubicka 2011-11-15 12:37:07 UTC --- > gfortran.fortran-torture/execute/arrayarg.f90 is miscompiled. There are 4 expanded memset calls in the testcase, all ends up being unrolled loop. Looks like we misoptmize one of them.

[Bug libstdc++/51140] New: libstdc++-v3/libsupc++/eh_tm.cc:48: undefined reference to `___sync_sub_and_fetch_4'

2011-11-15 Thread cestrauss at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51140 Bug #: 51140 Summary: libstdc++-v3/libsupc++/eh_tm.cc:48: undefined reference to `___sync_sub_and_fetch_4' Classification: Unclassified Product: gcc Version: 4.7.0 St

[Bug libfortran/51119] MATMUL slow for large matrices

2011-11-15 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #4 from Joost VandeVondele 2011-11-15 12:31:10 UTC --- Created attachment 25826 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25826 comparison in performance for small matrix multiplies (libsmm vs mkl) added some data showing t

[Bug libfortran/51119] MATMUL slow for large matrices

2011-11-15 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #3 from Joost VandeVondele 2011-11-15 12:19:59 UTC --- (In reply to comment #1) > I have a cunning plan. It is doable to come within a factor of 2 of highly efficient implementations using a cache-oblivious matrix multiply, which is

[Bug c++/51139] c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread sp at comsulting dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 --- Comment #4 from Sven Passig 2011-11-15 11:42:45 UTC --- (In reply to comment #1) > it was only implemented on the 7th, your compiler is too old > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114#c13 Thanks for this ultrafast answer on th

[Bug c++/51139] c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread sp at comsulting dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 --- Comment #3 from Sven Passig 2011-11-15 11:36:53 UTC --- (In reply to comment #2) > and severity is never "critical" for a brand new feature (in the C++11 mode > still labelled experimental) in an unreleased compiler ah ok, thanks for clarify

[Bug c++/51139] c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 Jonathan Wakely changed: What|Removed |Added Severity|critical|normal --- Comment #2 from Jonathan Wak

[Bug c++/51139] c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/51139] New: c++11 alias-declarations doasn't work contrary to relase notes

2011-11-15 Thread sp at comsulting dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51139 Bug #: 51139 Summary: c++11 alias-declarations doasn't work contrary to relase notes Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug libstdc++/51133] Incorrect implementation of std::tr1::hermite()

2011-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51133 --- Comment #13 from Paolo Carlini 2011-11-15 11:11:47 UTC --- If we do this as part of the general testsuite infrastructure we can also afford having a little more code, separate out-of-line functions, etc. But the code must be formatted accordi

[Bug libstdc++/51133] Incorrect implementation of std::tr1::hermite()

2011-11-15 Thread dickphd at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51133 --- Comment #12 from Jason Dick 2011-11-15 11:08:16 UTC --- (In reply to comment #11) > Thanks, but please, instead of doing this here, for this specific testcase, > please collaborate with Ed at integrating this code in the testsuite. Sounds go

  1   2   >