https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:b3f135a50c3dd7fc04252e17d7fbb08ca95aa9a5 commit r10-10307-gb3f135a50c3dd7fc04252e17d7fbb08ca95aa9a5 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Sep 15 21:53:35 2021 +0100 libstdc++: Add missing 'constexpr' to std::tuple [PR102270] This backport to gcc-10 also includes r12-3637. Signed-off-by: Jonathan Wakely <jwak...@redhat.com> libstdc++-v3/ChangeLog: PR libstdc++/102270 * include/std/tuple (_Head_base, _Tuple_impl): Add _GLIBCXX20_CONSTEXPR to allocator-extended constructors. (tuple<>::swap(tuple&)): Add _GLIBCXX20_CONSTEXPR. * testsuite/20_util/tuple/cons/102270.cc: New test. * testsuite/util/testsuite_allocator.h (SimpleAllocator): Add constexpr to constructor so it can be used for C++20 tests.