[Bug libstdc++/66742] abort on sorting list with custom compiler that is not stateless
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 3 10:20:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-07-03
Ever confirmed|0 |1
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Marc Di Luzio from comment #3)
> If this is still considered an issue, I would suggest that __carry be copy
> constructed.
No, it needs to be constructed empty, but with the same allocator:
list __carry(get_allocator());
Unfortunately so does every element of the array __tmp:
list __tmp[64] = { get_allocator(), get_allocator(), get_allocator(),...
More information about the Gcc-bugs
mailing list