https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30484
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at gcc dot gnu.org
--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> ---
So in case we declare this a bug in the backend and we'd really want to check
flag_wrapv in the machine description we could widen + truncate or
conditionalize the minus one divisor. There are quite some division patterns
though.