https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Or perhaps another option would be instead of return mod; do return cxx_eval_constant_expression (ctx, mod, false, non_constant_p, overflow_p); ?