https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127986
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-10-18
Summary|[16 Regression] ICE in |[14/15/16/17 Regression]
|tsubst_expr, at |ICE in tsubst_expr, at
|cp/pt.cc:23146 on |cp/pt.cc:23146 on
|value-initialized aggregate |value-initialized aggregate
|whose array element has a |whose array element has a
|builtin NSDMI, inside a |builtin NSDMI, inside a
|template |template
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Target Milestone|--- |14.5
Known to fail| |14.1.0, 14.4.0, 15.1.0
Known to work|13.2.0, 15.2.0 |10.3.0, 13.1.0
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
>GCC 13.2.0 and 15.2.0 accept the code.
Actually GCC 15.1.0 and 15.2.0 ICEs with --enable-checking=yes while does not
ICE with --enable-checking=release.
Anyways confirmed still a regression since GCC 13.1.0 didn't ICE with checking.