From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 6E8223844066 for ; Mon, 13 Feb 2023 13:06:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6E8223844066 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676293583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E9/zfO4M8KP6LBEyaMakkeIfR2KGtf/ommWEmGIcLf4=; b=KyhUZv+F7H3Loe2SAozRlKtKMa9iWc/3+PlSE234urZUVVrPfa4dvhLs9rpjj2UG1wzvNa uZa5fEp6XFl4hKdCJerl/b0L/y35BoI+9HUT1RndhYVMk/edjOxJ1tjqxssSitt9Ev7FAH v6ZyK88xuAXFmwA27tJrOg1rFIPYn6I= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-670-_CmkRrLAOR-BNE5E-3ERJA-1; Mon, 13 Feb 2023 08:06:22 -0500 X-MC-Unique: _CmkRrLAOR-BNE5E-3ERJA-1 Received: by mail-ej1-f70.google.com with SMTP id ti11-20020a170907c20b00b00886244203fcso7493193ejc.2 for ; Mon, 13 Feb 2023 05:06:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E9/zfO4M8KP6LBEyaMakkeIfR2KGtf/ommWEmGIcLf4=; b=RN1CqCD0Zo/tvJU5OHodXevajiw6mnqnfjvxDzGR030ZcnwPnq5ekqk3xLO6krbQrp Si01leNdiKdXe/nWNlA0uU+YugzzAE0qANNBLqftMG4v81ZyOwqTLHWntHTGH+nB4C2Y 4/nE2bifUkncCNlzoHRcMzQr9AaK/P69kgfrbKs637+hhFyRnZOI8qLzPHD4aFLTlxdX cqFFRbMlhD3e8f9sBxeFB8asmtmL18icITj/PZUa8RTgzk5txV6v97aeNTjBoTwwxTUE dEHhbWdaNmWEauAar2AYvX7yWJcNMZUg/JTNUBRP9Olgupr7OMqdXrUdNjk576DPqeCL gOzw== X-Gm-Message-State: AO0yUKXtcdGnf/OoMoR63PaoewlTgeAMez6U40fupfYvbp1B2BpLsmUI /o3dIbEwRRqU0nFozD/qALC7EfJBGc4lPmbw9y7tXsLURo8sDwQHcdr19tUnuARf36tjv30hNfL LXuOEbyO6VkKqdmaWdeKmnmpXYalNE+QV1sWdl/wYErV4EQH9+sSI5KWcejT7X5seAcbd1Nmh X-Received: by 2002:a17:907:804:b0:8a9:fa2f:e440 with SMTP id wv4-20020a170907080400b008a9fa2fe440mr28833752ejb.55.1676293579673; Mon, 13 Feb 2023 05:06:19 -0800 (PST) X-Google-Smtp-Source: AK7set/A3L4hqFewjIIcSwXyepU6jYa7aGFKQGUDnOEaCekcSrIv/e/sJh28e6F/4oz5wq7/wRKwdw== X-Received: by 2002:a17:907:804:b0:8a9:fa2f:e440 with SMTP id wv4-20020a170907080400b008a9fa2fe440mr28833733ejb.55.1676293579427; Mon, 13 Feb 2023 05:06:19 -0800 (PST) Received: from [192.168.188.47] (dynamic-078-050-122-166.78.50.pool.telefonica.de. [78.50.122.166]) by smtp.gmail.com with ESMTPSA id k14-20020a170906970e00b008806a3c22c5sm6718716ejx.25.2023.02.13.05.06.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Feb 2023 05:06:18 -0800 (PST) Message-ID: Date: Mon, 13 Feb 2023 14:06:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: error: requires clause differs in template redeclaration From: Stephan Bergmann To: libstdc++@gcc.gnu.org Cc: Patrick Palka References: <1ea8bea9-bf48-7e8a-8c1f-e9ac747c7ab7@redhat.com> In-Reply-To: <1ea8bea9-bf48-7e8a-8c1f-e9ac747c7ab7@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,BODY_8BITS,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 13/02/2023 13:39, Stephan Bergmann 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 (see "Clang 'error: requires clause differs in template redeclaration' on out-of-class definition of class template specialization member")