From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id D863F3852201 for ; Fri, 18 Nov 2022 21:14:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D863F3852201 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-ed1-x530.google.com with SMTP id s12so8838691edd.5 for ; Fri, 18 Nov 2022 13:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nnTZCQtTUA0YMXum0eqYb6Kixacu/7RlUd0fs/jrVJ8=; b=kJJ8QPuw9kr8GnL4N31ZQHqQHOQiBHlbG085x0W8cnpxAowACmeIKTjjogTD37hEkc KHsEv4Rl/bft/a+1pSrWqqY0QPj89mC2lXZbY7nsKNYpsLma/Q8H0z68w7UZ9dxWS3tK fsNnqSmGewZ488IixnbSSS/PpAgj+LqrImAhTL27dZ5B3ZwzgfLbxP/W891qmZmGbuEn DF1afoglrbdxkilYRSLNMq1ym2UcPPNuxuV/pDbiH4qqnghNrE5UGvk5XxwJEsJAMf54 pbUqp+N9CDLbyST426qOrsFTTGt3Q/DHttHDit3AoYhs+4B5eAeuHdlbNNO1FtTDVVcJ QVDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=nnTZCQtTUA0YMXum0eqYb6Kixacu/7RlUd0fs/jrVJ8=; b=GlAdX9HPU0BvNGAYnqL1i0V9BXk6+AlCL/8R573GSA8Zy6tSgZqUWjmvSpfPyTBCuV K6zYW7QH1k7pT0ewaRkaXoTmvAzzISQYdWJa3OY3jfvhRWlDwcaHTnM7SfYtSbrggN1W nJlXRCPOK7tqHSRi/brxzl98ZGWsnqF7yZERJMxJRGx1B+20AqtRnlr1yBxV8dBOxXUf LxuISHi+flSKHmy/QLsytlcYCjlGYLPA7TdKm5UPDL20skfBq+JCtrwhRi30s31zQpxB 6UWzgu5TUjIi/VbrWLFq6R1tZYlbeg/GKueqzq4CJTLdxJ0weTPW4lvFY7OSI4f8BdU6 hW/w== X-Gm-Message-State: ANoB5pluM4Ppgr70uD77VUh7inF5GkB6UKkUATsaScRl1gM6/dCrmICl triFrGw3Uo2ODuaBIbSLly0LdM+TMslR/bkhk9Y= X-Google-Smtp-Source: AA0mqf5Kn4YdytiieYB8TX9LzgDlUyy/S7G2LTz7foX60IhqGv8xoo5GlEfYPNAtJ4iS0gls1LtGcSdiV/TNR3mMvEA= X-Received: by 2002:a05:6402:24a1:b0:463:e963:5149 with SMTP id q33-20020a05640224a100b00463e9635149mr7688390eda.219.1668806065082; Fri, 18 Nov 2022 13:14:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Fri, 18 Nov 2022 21:14:13 +0000 Message-ID: Subject: Re: Bug in header in trunk from malformed "requires" statement, causes compilation errors if included To: Gavin Ray Cc: libstdc++@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,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 Fri, 18 Nov 2022 at 18:59, Gavin Ray via Libstdc++ wrote: > > Hello all, > > Hit a very confusing bug this morning. I'm using Clang with GCC > upstream libstdc++ from jwakely's repo. > The following program fails to compile: > > #include > int main() { return 0; } > > It appears there was an initial commit which added "requires" clauses, > and then a fixup commit later: > - libstdc++: Fix up for extended floating point types > [PR107649] =C2=B7 gcc-mirror/gcc@0e2c551 (github.com) Yes, that was https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107649 but isn't included in my gcc-latest builds yet. > > But there seems to be one last malformed "requires" statement in trunk: > https://github.com/gcc-mirror/gcc/blob/59cc4da605e5cb8e31e9f1d54ef2b5ba47= fc8f88/libstdc%2B%2B-v3/include/std/complex#L2531 Thanks.