https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107037
--- Comment #1 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:6904ed80a26f5216aa3b9ce8377fb50307c8e886 commit r13-2869-g6904ed80a26f5216aa3b9ce8377fb50307c8e886 Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Sep 26 11:11:35 2022 +0100 libstdc++: Add #if around non-C++03 code in std::bitset [PR107037] libstdc++-v3/ChangeLog: PR libstdc++/107037 * include/std/bitset (_Base_bitset::_M_do_reset): Use preprocessor conditional around non-C++03 code. * testsuite/20_util/bitset/107037.cc: New test.