https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #4) > I can't reproduce this with GCC 9, only 8. Sorry, I was using -fsanitize=undefined, which prevented the miscompilation for gcc 9.