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