https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122632
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |ice-on-valid-code,
| |rejects-valid
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
clang accepts the original and the testcase from comment#2, GCC 15 and earlier
reject the code but do not ICE. So the ICE is a regression, but we'd still
reject valid code here and that's not a regression.