https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED Known to work| |11.2.0 --- Comment #7 from anlauf at gcc dot gnu.org --- The example in comment#5 also works for me with the listed "known to work". Please switch to using one of those or newer. Closing as fixed.