https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126036
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
get_vector_of_info_elts -> finish_compound_literal -> build_functional_cast ->
build_functional_cast_1 creates a CAST_EXPR when processing_template_decl,
where the type is non-dependent (std::vector <std::meta::info>). And
potential_constant_expression_1 is happy about that, but
cxx_eval_constant_expression doesn't handle CAST_EXPR at all.