https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The reason this doesn't trigger without -fsanitize= is that without the extra UBSAN_* internal function calls we manage to find out earlier that this is a dead code and optimize it away completely (during cddce1).