https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- The standard says "no diagnostic required". It's not a bug if a compiler accepts the code.
redi at gcc dot gnu.org via Gcc-bugs Wed, 04 Nov 2020 07:37:57 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96746
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- The standard says "no diagnostic required". It's not a bug if a compiler accepts the code.