https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124425
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 63871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63871&action=edit gcc16-pr124425-wip.patch WIP patch. This fixes the 2 new testcases, but unfortunately breaks (in particular the deref = fold_build_cleanup_point_expr (TREE_TYPE (deref), deref); line) FAIL: g++.dg/reflect/reflect_constant_array4.C -std=c++26 (test for excess errors) Excess errors: .../reflect/reflect_constant_array4.C:15:99: error: uncaught exception of type 'std::meta::exception'; 'what()': 'reflect_constant failed' and FAIL: g++.dg/reflect/define_static_array4.C -std=c++26 (test for excess errors) Excess errors: .../reflect/define_static_array4.C:13:108: error: uncaught exception of type 'std::meta::exception'; 'what()': 'reflect_constant failed'
