https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105957
--- Comment #2 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:0a9af7b4ef1b8aa85cc8820acf54d41d1569fc10 commit r13-1093-g0a9af7b4ef1b8aa85cc8820acf54d41d1569fc10 Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Jun 14 14:37:25 2022 +0100 libstdc++: Check for size overflow in constexpr allocation [PR105957] libstdc++-v3/ChangeLog: PR libstdc++/105957 * include/bits/allocator.h (allocator::allocate): Check for overflow in constexpr allocation. * testsuite/20_util/allocator/105975.cc: New test.