https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62143
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to haynberg from comment #0)
> I'm not sure if this is a bug or allowed by the standard. Either way, it's
> strange this is allowed.
It's the behaviour required by the standard.