https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82951
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, on RTL signs do not matter. I'd say strip the bogus cases from the existing tests and "duplicate" them into new variants using -fwrapv? Thus only apply -fwrapv to those cases that need it.