This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/41316] forward_list::sort violates strict aliasing rules
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2009 10:58:28 -0000
- Subject: [Bug libstdc++/41316] forward_list::sort violates strict aliasing rules
- References: <bug-41316-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from paolo dot carlini at oracle dot com 2009-09-09 10:58 -------
As written, I'm afraid _M_sort_after also does __p->_M_value, right?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41316