From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id E57D138493CA for ; Mon, 13 Feb 2023 13:07:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E57D138493CA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x631.google.com with SMTP id n10so4760513ejc.4 for ; Mon, 13 Feb 2023 05:07:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JIDiuj2CyAx9dBXi+f4k0PvhfYiJsrtZVzHf6M+Lco8=; b=jUGjPJniUjBmRnNUjRzsQRPpiMeU1vs7wV+YjIpU0QeSAKgLLNOQoEEW36kmFuCpZh jSE9A4gv8DU8wJJflfDaQQm8Yhr4iYCEiraLz3H4nOkpdyz+P+yarJSCLmboFzyzPt7t jwe1CPrxwIwPzsP+rfNRw92ghjAi35471ZJB4tLjlLqVdePYb+XdXNnDP6fNfQuYP7cY DNFpmldXf1spQWT+kQwi//zK5w8kMKGMuPH5Ti3RxEYv/dcRupI3Ze0O6BSdIE1HJeyv Nl5pYDPbGsmx+KDWEPzxlHA7jYcKk+7XAChbe/YpZpuwMEjTkehareINQlvCTuzm7pLz L4/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JIDiuj2CyAx9dBXi+f4k0PvhfYiJsrtZVzHf6M+Lco8=; b=VrufiD54P3KlAarbK1XZDgNO2lMSt2/Sro65bHK0TeameeeIUYzg8fRSLE+O9HmklO tYzmFyNFzTaGEczrYR+QoRhqg1gfmRuTgzTcHAe0hhgnnFIj4NUDcts0yNAjg8RYm4g9 oTR8wZeDZjGB6rl5hIpbpGIJZRAYgbuMCMr0NHUALcr7n+mHlZ1zR4R9BNTycKKU//FL lVuJILVQ7Em1dIjUGvb6g+KwVmyYvda1pKGh75s7jnZ+hqkZAXR9SX5I4FuVvZMZv5SS YoRwUv7NqcDzewOuvryxkRkG73AyMtHvM9+kjE3FMKrGaHyWP0nXC/dbdGp0FivnUy55 XdLA== X-Gm-Message-State: AO0yUKV/CWv7vwMUx8Ybrcp1D5giJCyI0O+C0VGODIcNmhg4+aIWxKIg 8ZnsqqcNvHiYt1tyjeDqaxFpYYbfjYd6z5bOQpA= X-Google-Smtp-Source: AK7set9bv9hVqODYWBJaXFGGph7VcDOG5X5gBK/7bztJ+tHoNGPUnw8Y7xPtfcOo1+KBJyhIl1Oc6uc0X/m6hBOLyTw= X-Received: by 2002:a17:906:d8d7:b0:88d:64e7:a2be with SMTP id re23-20020a170906d8d700b0088d64e7a2bemr4722461ejb.15.1676293622710; Mon, 13 Feb 2023 05:07:02 -0800 (PST) MIME-Version: 1.0 References: <1ea8bea9-bf48-7e8a-8c1f-e9ac747c7ab7@redhat.com> In-Reply-To: <1ea8bea9-bf48-7e8a-8c1f-e9ac747c7ab7@redhat.com> From: Jonathan Wakely Date: Mon, 13 Feb 2023 13:06:51 +0000 Message-ID: Subject: Re: error: requires clause differs in template redeclaration To: Stephan Bergmann Cc: libstdc++@gcc.gnu.org, Patrick Palka Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 13 Feb 2023 at 12:39, Stephan Bergmann via Libstdc++ wrote: > > On 13/02/2023 12:14, Stephan Bergmann wrote: > > I just noticed that Clang -std=c++2b complains (and I assume rightly so) > > about > > > >> .../lib/gcc/x86_64-pc-linux-gnu/13.0.1/../../../../include/c++/13.0.1/ranges:6123:14: error: requires clause differs in template redeclaration > >> requires forward_range<_Vp> > >> ^ > >> .../lib/gcc/x86_64-pc-linux-gnu/13.0.1/../../../../include/c++/13.0.1/ranges:5822:14: note: previous template declaration is here > >> requires input_range<_Vp> > >> ^ > > ah no, there's multiple chunk_view with different requires clauses, so > this first one rather looks like a Clang bug Yes, this is https://github.com/llvm/llvm-project/issues/58124