[Bug libstdc++/66742] abort on sorting list with custom compiler that is not stateless
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 2 19:40:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
Your definition of operator!= for the allocator test_alloc violates the
allocator requirements, which impose that != behaves the same as the negation
of == (see Table 28 — Allocator requirements, [allocator.requirements]). This
violates causes undefined behaviour. Therefore it seems to me as if this is an
invalid bug report.
More information about the Gcc-bugs
mailing list