https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119567
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2025-04-01 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect this is EXACT_DIV_EXPR, which should be moved down to the CEIL_DIV_EXPR section below. And then it will be `0/0` which explains why this is not valid constexpr.