https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96042
--- Comment #11 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:12042aeb9336f20b9225b2e5139e5f6c9bde7642 commit r10-9021-g12042aeb9336f20b9225b2e5139e5f6c9bde7642 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Nov 13 13:04:10 2020 +0000 libstdc++: Fix test that fails for targets without __int128 [PR 96042] When backporting this test (and the changes it depends on) I forgot that the __max_diff_type and __max_size_type classes are only present on trunk, not the gcc-10 branch. That using iota_view<long long, long long> oonly works correctly when __int128 is available, so the test fails on 32-bit targets. This just skips the failing check. PR libstdc++/96042 * testsuite/std/ranges/iota/96042.cc: Only assert that the difference type is wider than long long if __int128 is supported.