From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 9B4C83858D3C for ; Sun, 1 May 2022 15:38:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9B4C83858D3C Received: by mail-ej1-x62c.google.com with SMTP id kq17so23812016ejb.4 for ; Sun, 01 May 2022 08:38:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=XSDB4F2hmgfJjNAslyDAY246iFjV8LsynCzoFppr564=; b=2IvowHDiqBo5tWTdNTpTYabSJ+fNxufu534Uh5CCrbIXIeaPGEcPitKvlImnf5Y6yw 1aePAIWXMh0dpO5z9eNuDL1tM6Dy30dyyuU3hJnXpiaMvBRNksU8FwakUEpvloxjz+bX O9qXigG2aUBcUqq2u3jN9NB07imwcc5RVC4RK8TZXFxlXf1BpyoF8rwDpw7gXG8J9rOP P9HDHygIHBvQMSFJxM08l0R0I7yriVEbT+eOsUvJS6xXJint9+x179jjJMhPfKkuNqsA 6bSSzL9ZPWgfymd3b/F67lRlgYfHoDYSDqP/RZDoq5B4xalRjvh56fTcfZSos/yrbJVN Fuxg== X-Gm-Message-State: AOAM532Iddtpwo3wVIgYL1M1xm0ZmRAgob5mBd2OpnyePPyBKki8kBUu DXLO77j0bkqKFPgMUW5tQ2ryhYuFOFs= X-Google-Smtp-Source: ABdhPJx494lxXgRRqcSWee6hR9+xEH53Wy+sElCeJuahDpbSp5uUrxwzAQMmoKCIjcrR8QE0phs0Mw== X-Received: by 2002:a17:907:6e8e:b0:6f4:4c95:261e with SMTP id sh14-20020a1709076e8e00b006f44c95261emr1497999ejc.404.1651419505766; Sun, 01 May 2022 08:38:25 -0700 (PDT) Received: from smtpclient.apple (dynamic-095-117-076-081.95.117.pool.telefonica.de. [95.117.76.81]) by smtp.gmail.com with ESMTPSA id qs24-20020a170906459800b006f3ef214e1asm2690870ejc.128.2022.05.01.08.38.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 May 2022 08:38:24 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Richard Biener Mime-Version: 1.0 (1.0) Subject: Re: GCC 12.1 Release Candidate available from gcc.gnu.org Date: Sun, 1 May 2022 17:38:23 +0200 Message-Id: <92C6EA36-CA62-4E3E-B7B5-5E1C06A44E70@gmail.com> References: Cc: Iain Sandoe , GCC Development In-Reply-To: To: Jakub Jelinek X-Mailer: iPhone Mail (19E258) X-Spam-Status: No, score=-3.0 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2022 15:38:29 -0000 > Am 01.05.2022 um 13:42 schrieb Jakub Jelinek via Gcc : >=20 > =EF=BB=BFOn Sun, May 01, 2022 at 11:02:29AM +0100, Iain Sandoe wrote: >> All of these show new fails (presumably because checking is off): >>=20 >> XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++98 (= internal compiler error) >> FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++98 (= test for excess errors) >> XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++14 (= internal compiler error) >> FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++14 (= test for excess errors) >> XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++17 (= internal compiler error) >> FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++17 (= test for excess errors) >> XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++20 (= internal compiler error) >> FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=3Dc++20 (= test for excess errors) >=20 > We can live with that for 12.1. >=20 >> earlier x86 darwin is particularly noisy test-wise because there seem to b= e a lot of newer AVX512 tests >> that do not check for support from the assembler etc. >=20 > That would be nice to fix for 12.2, can you file a PR with a list? >=20 >> However from Darwin12+ (macOS 10.8) we expect to be able to bootstrap wit= h the host clang, but: >>=20 >> Not OK: >> x86_64-darwin{12..15} FAIL to bootstrap with host clang, this is a regres= sion. >>=20 >> the reason is that "gcc/analyzer/region-model.cc=E2=80=9D uses initialize= r_lists, and it seems that >> is not transitively included by any used headers for _LIBCPP_VERSION < 40= 00. I fixed that locally by >> adding initializer_list into system.h (and adding INCLUDE_INITIALIZER_LIS= T to the top of=20 >> gcc/analyzer/region-model.cc) >> - with that change those versions do bootstrap and test OK*** >=20 > =46rom what I can see, with libstdc++ it works because which is > included by system.h includes . > If I rename initializer_list in analyzer/region-model.ii to initializer_li= stx, I > also get: > ../../gcc/analyzer/region-model.cc: In function =E2=80=98void ana::selftes= t::test_binop_svalue_folding()=E2=80=99: > ../../gcc/analyzer/region-model.cc:4966:48: error: deducing from brace-enc= losed initializer list requires =E2=80=98#include =E2=80=99= > 4508 |=20 > +++ |+#include > 4509 | static void > ...... > 4966 | for (auto op : {BIT_IOR_EXPR, TRUTH_OR_EXPR}) > | ^ > ../../gcc/analyzer/region-model.cc:4978:49: error: deducing from brace-enc= losed initializer list requires =E2=80=98#include =E2=80=99= > 4978 | for (auto op : {BIT_AND_EXPR, TRUTH_AND_EXPR}) > | ^ >=20 > I think we have 2 options, one is do what you wrote above, > INCLUDE_INITIALIZER_LIST defined before system.h to get #include . > The other option is just to include that unconditionally, it is a very sma= ll > header. For libstdc++ it will make no difference as it is included anyway= > and the header is really small there, libc++ includes which isn'= t > normally included and system.h includes instead. I=E2=80=99d say unconditionally would be OK. I suppose the chance that any h= ost C++ is good enough to build GCC as-is but fails to provide is zero? I=E2=80=99d be OK to do this change without a new RC even. Richard. >=20 > Jakub >=20