[Bug libstdc++/52938] std::string::reserve request is not maintained if object is used in other object copy ctor

2012-04-11 Thread abdul.tohmaz at emc dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52938 --- Comment #10 from Abdul Tohmaz abdul.tohmaz at emc dot com 2012-04-12 00:11:34 UTC --- Thanks for the clarification, I will switch to ext/vstring.h...

[Bug libstdc++/52938] std::string::reserve request is not maintained if object is used in other object copy ctor

2012-04-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52938 --- Comment #11 from Jonathan Wakely redi at gcc dot gnu.org 2012-04-12 00:22:01 UTC --- (In reply to comment #7) Don't you think this is a problem? I called reserve on x to avoid memory reallocation, and yet I am faced with memory

[Bug c++/52942] New: [4.7 Regression] using std::ref with a std::unordered_map fails to compile

2012-04-11 Thread cmaloney at tagged dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52942 Bug #: 52942 Summary: [4.7 Regression] using std::ref with a std::unordered_map fails to compile Classification: Unclassified Product: gcc Version: 4.7.0 Status:

[Bug target/52898] SH Target: Inefficient DImode comparisons

2012-04-11 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #3 from Kazumoto Kojima kkojima at gcc dot gnu.org 2012-04-12 01:13:15 UTC --- (In reply to comment #2) I don't know about their history. -mcbranchdi is enabled by default, though. See

[Bug c++/52942] [4.7 Regression] using std::ref with a std::unordered_map fails to compile

2012-04-11 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52942 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/52941] SH Target: Add support for movco.l / movli.l atomics on SH4A

2012-04-11 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52941 --- Comment #1 from Kazumoto Kojima kkojima at gcc dot gnu.org 2012-04-12 01:18:42 UTC --- (In reply to comment #0) Other than that, should we add another option '-mhard-atomic' (which would enable the movco/movli atomics on SH4A and disable

[Bug libstdc++/29366] atomics config for sh is weird

2012-04-11 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29366 --- Comment #3 from Kazumoto Kojima kkojima at gcc dot gnu.org 2012-04-12 01:20:06 UTC --- (In reply to comment #2) I think some of the problems will disappear once PR 52941 is done. After that, and having the new atomic builtins of 4.7, we

[Bug c++/52942] [4.7 Regression] using std::ref with a std::unordered_map fails to compile

2012-04-11 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52942 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-04-12 01:38:50 UTC --- Bah, the more I look into it, the more seems indeed a front-end issue, I see only public typedefs around. Then we would badly need a small reproducer.

[Bug c/52943] New: likely wrong code bug

2012-04-11 Thread regehr at cs dot utah.edu
-install --program-prefix=r186359- --enable-languages=c,c++ Thread model: posix gcc version 4.8.0 20120411 (experimental) (GCC)

[Bug other/52944] New: [4.5/4.6 Regression] __builtin_object_size(..., 1) no longer returns (size_t)-1 for consecutive flexible/zero-length array members

2012-04-11 Thread vapier at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52944 Bug #: 52944 Summary: [4.5/4.6 Regression] __builtin_object_size(..., 1) no longer returns (size_t)-1 for consecutive flexible/zero-length array members Classification:

<    1   2