https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115837
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Yeah. You can always make it fatal by -fno-sanitize-recover=integer-divide-by-zero and then already the libubsan runtime will terminate the program. But if you choose to try to recover, the UB just happens and whatever it implies happens too.