https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94967
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- GCC 7 was correct at the time it was released. The spec was changed in early 2017 by https://wg21.link/lwg2485 which is implemented in GCC 8 and later. Since GCC 7 is no longer maintained or supported, there's nothing to do.