https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117571
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2024-11-17
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Introduced by r15-4601-ge2e798b8607401.
which transforms trunc_div into exact_div.
gimple-lower-bitint.cc does not expect EXACT_DIV_EXPR, it only handles:
case MULT_EXPR:
case TRUNC_DIV_EXPR:
case TRUNC_MOD_EXPR:
lower_muldiv_stmt also does not handle EXACT_DIV_EXPR.
I suspect we can handle EXACT_DIV_EXPR the same as TRUNC_DIV_EXPR .