From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B8C53858C52; Tue, 9 Jan 2024 23:38:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B8C53858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704843504; bh=3snelrpZygaSBdfMUYtiF2RRhMFnAGuDwRFTfCyGS98=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F0vvhX6V27ENXYe9GULA1sf8eDyIdWV2lRgj1f/oFQ6AyLDi6ib49Jzx4mS2DqF/8 v03SC2bPvjHl/UKzsj/yKxZBhApA4oAybLjimGnfelTLqrKZGsS3ukPWO3cOHb1XBy w8qNaEcdY8paTQgrhcRQ8kEbcgohSFT/FB8NkNMc= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL Date: Tue, 09 Jan 2024 23:38:24 +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: 14.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110512 --- Comment #7 from Jonathan Wakely --- Actually, if we don't care about upstream any more, we can improve the pre-C++20 version too: template using __are_random_access_iterators =3D std::__or_>...= >;=