https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105170
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-12-07 Keywords| |wrong-code Ever confirmed|0 |1 Known to work| |13.2.1, 14.0 Known to fail| |11.4.1, 12.3.1 Status|UNCONFIRMED |WAITING --- Comment #1 from anlauf at gcc dot gnu.org --- With current gcc-14 trunk and also current 13-branch I get the result you expect. Likely fixed by Paul's big finalization patch. Can you please check?