[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Sat Nov 9 12:38:00 2013 New Revision: 204615 URL: http://gcc.gnu.org/viewcvs?rev=204615root=gccview=rev Log: PR libstdc++/58982 *

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Paolo Carlini from comment #2) I think at least something like this for this specific bug, but the whole file needs auditing: Not only that file, but stl_algobase.h

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org --- And this, which is more obviously wrong: std::atomicint a[1]; std::atomicint b[1]; std::copy(a,a+1, b);

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com --- At some point we replaced a weak (not using front-end intrinsics) version of is_pod with __is_trivial, in algos uninitialized. At that time was safe, ins't anymore in 4.9. In

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-08 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org --- Yes, it's not too hard to fix properly, so I'm working on that.

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com --- Thanks!

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

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

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

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

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com --- I think at least something like this for this specific bug, but the whole file needs auditing: Index: stl_uninitialized.h

[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- Well, something closer to a correct minimal fix would be is_trivial is_copy_assignable. Jon, I think that in general in this file minimal fixes would involve with the existing