[Bug c++/57820] [DR 253] NSDMI and const objects
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 29 13:53:28 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57820
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |5.0
Status|NEW |RESOLVED
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> [Adopted at the November, 2016 meeting as part of paper P0490R0.]
And P0490R0 says the fix for CWG 253 is a defect against C++14.
So GCC is correct to accept the code in all modes.
The original testcase is accepted since r5-4459-g3e605b20a0c804
More information about the Gcc-bugs
mailing list