https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105756
Sergei Trofimovich <slyfox at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE in |[12/13 Regression] ICE in |cxx_eval_constant_expressio |cxx_eval_constant_expressio |n at cp/constexpr.cc:7586: |n at cp/constexpr.cc:7586: |unexpected expression |unexpected expression |‘ElemSize’ of kind |‘ElemSize’ of kind |template_parm_index |template_parm_index --- Comment #1 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- g++-11.3.0 builds the example file. Let's declare it a possible gcc-12 regression.