https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119429
--- Comment #6 from Desmond Rhodes <desmond.rhodes at outlook dot com> --- (In reply to Andrew Pinski from comment #3) > See PR 97844 also for other places where -fsanitize=integer produces bad > results with libstdc++ and already declared as not going to be dealt with. > > *** This bug has been marked as a duplicate of bug 97844 *** I do not believe `-fsanitize=integer` produces bad results. Enabling it has allowed me to catch this "trivial" mistake a lot.