https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94412
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah, -1U / 11 is 390451572, not 0.
11149 /* Convert -A / -B to A / B when the type is signed and overflow
is
11150 undefined. */
11151 if ((!INTEGRAL_TYPE_P (type) || TYPE_OVERFLOW_UNDEFINED (type))
11152 && TREE_CODE (op0) == NEGATE_EXPR
11153 && negate_expr_p (op1))
needs to be adjusted the way Marc said.