From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D7023858C62; Thu, 27 Apr 2023 12:10:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D7023858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682597442; bh=1HBsoXBYls8zY9K6WXlGrLusqeQRZEVS9z2m772KNUo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qt7/b7e+/ksczxToxUxukAlJKlRyMAkGRv6xY+ps/YMsDpsxl/2EOkJ0zedc+n4Ap ptqVmHtx1gGBQtaEGHmVD5xK1TE6r8bNMfTtxFdjKfuOE3luKx1e6FZr/XTQ42w5wo ymeN6LlgAMDnIStc9L8HKWYceITmk3zBQowDbeXo= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109647] ranges:6151:14: error: requires clause differs in template redeclaration rejected by clang++ 16.0.2 Date: Thu, 27 Apr 2023 12:10:41 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: resolution bug_status 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=3D109647 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Jonathan Wakely --- This is a clang bug. The primary template on line 5850 has these constraints: template requires input_range<_Vp> class chunk_view : public view_interface> But then there is a partial specialization for forward_range on line 6075: template requires forward_range<_Vp> class chunk_view<_Vp> : public view_interface> The error on line 6151 incorrectly says that the definition is inconstistent with line 5850. That's true, but it's a definition for the one on line 6075 instead.=