https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:eba46f1137683b6f92ea6f95ed84e3e5cfc42377 commit r12-9877-geba46f1137683b6f92ea6f95ed84e3e5cfc42377 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Sep 14 09:18:34 2023 +0100 libstdc++: Add workaround for std::make_integer_sequence bug [PR111357] The compiler bug has been fixed on trunk, but we need this workaround on the branches. libstdc++-v3/ChangeLog: PR c++/111357 * include/bits/utility.h (make_integer_sequence): Add cast. * testsuite/20_util/integer_sequence/pr111357.cc: New test. (cherry picked from commit 7b0abd4a8ee9d2057febe443de67009dcdfe7574)