https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65890
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- The purpose of G++ is not a validation tool for finding non-portable code. As I said, it's to be a useful compiler. It has always been the policy of G++ (and other compilers!) to incorporate DRs into past standard modes, and that is clearly documented in the manual: c++98 c++03 The 1998 ISO C++ standard plus the 2003 technical corrigendum and some additional defect reports. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So this is not a bug and there is no documentation issue.