https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71166
--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Adding an at_eof check into try_const fixes the testcase. (also) Adding an at_eof <= 1 assert into cxx_eval_outermost_constant_expr causes 261 new fails. Although many are obviously init & ctor related, they're a fairly widely distributed bunch -- one is even abi name mangling. I don't see any a priori reason as to why those calls to cxx_eval_outermost_constant_expr couldn't end up evaluating a constexpr call.