https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12672
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.0 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #16 from Patrick Palka <ppalka at gcc dot gnu.org> --- Fixed for GCC 12 by accepting such code, which is permitted but not required by the standard.