https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109507
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- When you created this bug report there was a red banner at the top of the page that begins by asking you to read https://gcc.gnu.org/bugs/ and that tells you to try -fsanitize=undefined