https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98725
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:e6f6972b5f4711c110fa753c926df49415f230da commit r12-4255-ge6f6972b5f4711c110fa753c926df49415f230da Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Oct 8 14:45:23 2021 +0100 libstdc++: Detect miscompilation of src/c++11/limits.cc Add a #error directive to ensure that the definitions are not compiled as C++17, which would prevent them being emitted. libstdc++-v3/ChangeLog: PR libstdc++/98725 * src/c++11/limits.cc: Fail if __cpp_inline_variables is defined.