From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7ADA63A1B401; Fri, 13 Nov 2020 13:11:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7ADA63A1B401 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/96042] Reference type of std::ranges::iota is __int128 with -std=c++2a?! Date: Fri, 13 Nov 2020 13:11:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 13:11:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96042 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:12042aeb9336f20b9225b2e5139e5f6c9bde7642 commit r10-9021-g12042aeb9336f20b9225b2e5139e5f6c9bde7642 Author: Jonathan Wakely 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 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.=