https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66127
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I suppose this particular issue might be even relevant to e.g. -mcheck-zero-division on MIPS, i.e. everywhere where we're expect to trap on integer division by zero. (ubsan's -fsanitize=integer-divide-by-zero isn't affected by this, because we add the instrumentation very early, before the division is lost. Otherwise we'd miss a diagnostic.)