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
*
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
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
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);
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
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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982
--- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com ---
Thanks!
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
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
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
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
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
12 matches
Mail list logo