[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-04-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #13 from Jonathan Wakely redi at gcc dot gnu.org 2012-04-11 21:13:50 UTC --- Author: redi Date: Wed Apr 11 21:13:45 2012 New Revision: 186359 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=186359 Log: PR libstdc++/52591

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-04-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-04-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #11 from Jonathan Wakely redi at gcc dot gnu.org 2012-04-01 22:04:59 UTC --- Author: redi Date: Sun Apr 1 22:04:54 2012 New Revision: 186057 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=186057 Log: PR libstdc++/52591

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-04-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #12 from Jonathan Wakely redi at gcc dot gnu.org 2012-04-01 22:12:29 UTC --- fixed on the trunk so far

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread expipiplus1 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 Joe Hermaszewski expipiplus1 at gmail dot com changed: What|Removed |Added Version|4.7.0 |4.8.0 ---

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2012-03-14 23:46:59 UTC --- You bet it ;)

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-03-15 00:36:22 UTC --- (In reply to comment #1) Jon, can you have a look? I suspect it's just matter of telling apart cases in the move-assignment operator at compile time with

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-03-15 00:51:23 UTC --- The allocator-aware container requirements (table 99) state that move-assigning a vector requires that the element type be MoveAssignable

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-03-15 00:58:15 UTC --- std::vector did not conform to the C++11 allocator-aware container requirements in 4.6, now it does, so you can't use a non-MoveAssignable type as the element

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com 2012-03-15 01:01:36 UTC --- I see. That conforming extension seems nice to have, anyway, I agree (together with 2103)

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2012-03-15 01:20:33 UTC --- Created attachment 26895 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26895 barely tested patch that allows testcase to compile here's a prototype,

[Bug libstdc++/52591] [C++0x] [4.7 Regression] moving std::vector relies on movable elements

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52591 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|major |enhancement ---