https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91705
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ah, you're right. Perhaps it could be done by doing the constexpr evaluation only if not CONSTANT_CLASS_P (offset) or similar, TREE_CONSTANT is probably not good enough as that is likely set already on the unfolded FLOAT_EXPR.