https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96033
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This is the intended behavior. Compile the faulty code with
-std=legacy
