https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Keywords| |rejects-valid
CC| |ppalka at gcc dot gnu.org
Target Milestone|--- |12.3
--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Looks like this is fixed for GCC 12.3+ by the fix for PR107079
