[Bug libstdc++/101429] __replacement_assert should be marked as noexcept

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 12 22:34:03 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429

--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
By the way, i think if _GLIBCXX_VERBOSE==0, it should be just an
__builtin_abort(). This will make optimizers much happier. The bounds checking
will be only once.

https://godbolt.org/z/7MxMoe3Yn


More information about the Gcc-bugs mailing list