https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125759
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
Known to fail| |16.1.0
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to keng from comment #1)
> NOTE: this doesn't fail on gcc 16.1,
> godbolt: https://godbolt.org/z/TaT8377b1
Yes it does ICE. just not with checking enabled.
/* These should have been stripped or otherwise handled by the caller. */
gcc_checking_assert (!REFERENCE_REF_P (decl));