From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 69A4A3858D33 for ; Sun, 1 May 2022 18:07:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 69A4A3858D33 Received: by mail-wm1-x32d.google.com with SMTP id ay11-20020a05600c1e0b00b0038eb92fa965so9724855wmb.4 for ; Sun, 01 May 2022 11:07:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D6XUEk5dFh3P5vTjRdjyWIu7ltx8dZK9OzLDBn8EoCk=; b=wYGRe1abGk+aBk1d0mvPhxvqIQOjyeXO9KkeCqB74Ju3LmuZvlTyCdWMXV7FQEal3S vldsG/nByS6k4Cw2fI1mrakuviv5A8NSg1uQiUi4mkLX/gdbDW4EPylCmUv5VSYEEcfb tvEWLCU2xLDXKyzMbhMt61YXMUeVywUhv6onVILz6BrjPm/E2vsvF4a3HHpvTKRVvtsX ctenVP+5dsBffGUgT88P0dRwMsdqpAQ/BNE5/QdzEUCAgjBmrzDnOwshQNH0WWN1BRLQ TDhcdbRlP6eqybGKCjd/4f5XiRBKQ58O5m67Sm0SBtRpVVf2BPShgYFPrYfZYSS59k2O H3nQ== X-Gm-Message-State: AOAM533saD43g7clMwuNlM3lqFDSLe+HkwkG48Lp855ofSUaTDjEzDzY /Ew46WS4hEZW1D04qKntyaaT4+uj9chkw9AUOfw= X-Google-Smtp-Source: ABdhPJwmuJtXT5J7kpavX51+Q+ktA6aUaO83Xq1DaxjiHgsnP3Zv2uUbb0I+V4x+M83moLHdacBLgSZu7xjJ4gZ+hls= X-Received: by 2002:a7b:c119:0:b0:393:f98e:b56e with SMTP id w25-20020a7bc119000000b00393f98eb56emr12303429wmi.128.1651428425767; Sun, 01 May 2022 11:07:05 -0700 (PDT) MIME-Version: 1.0 References: <92C6EA36-CA62-4E3E-B7B5-5E1C06A44E70@gmail.com> In-Reply-To: <92C6EA36-CA62-4E3E-B7B5-5E1C06A44E70@gmail.com> From: Jonathan Wakely Date: Sun, 1 May 2022 19:06:53 +0100 Message-ID: Subject: Re: GCC 12.1 Release Candidate available from gcc.gnu.org To: Richard Biener Cc: Jakub Jelinek , GCC Development , Iain Sandoe X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 18:07:09 -0000 On Sun, 1 May 2022, 16:39 Richard Biener via Gcc, wrote: > > > > Am 01.05.2022 um 13:42 schrieb Jakub Jelinek via Gcc : > > > > =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): > >> > >> 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++9= 8 > (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++1= 4 > (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++1= 7 > (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++2= 0 > (test for excess errors) > > > > We can live with that for 12.1. > > > >> earlier x86 darwin is particularly noisy test-wise because there seem > to be a lot of newer AVX512 tests > >> that do not check for support from the assembler etc. > > > > That would be nice to fix for 12.2, can you file a PR with a list? > > > >> However from Darwin12+ (macOS 10.8) we expect to be able to bootstrap > with the host clang, but: > >> > >> Not OK: > >> x86_64-darwin{12..15} FAIL to bootstrap with host clang, this is a > regression. > >> > >> the reason is that "gcc/analyzer/region-model.cc=E2=80=9D uses > initializer_lists, and it seems that > >> is not transitively included by any used headers for _LIBCPP_VERSION < > 4000. I fixed that locally by > >> adding initializer_list into system.h (and adding > INCLUDE_INITIALIZER_LIST to the top of > >> gcc/analyzer/region-model.cc) > >> - with that change those versions do bootstrap and test OK*** > > > > From 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_listx, I > > also get: > > ../../gcc/analyzer/region-model.cc: In function =E2=80=98void > ana::selftest::test_binop_svalue_folding()=E2=80=99: > > ../../gcc/analyzer/region-model.cc:4966:48: error: deducing from > brace-enclosed initializer list requires =E2=80=98#include =E2=80=99 > > 4508 | > > +++ |+#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-enclosed initializer list requires =E2=80=98#include =E2=80=99 > > 4978 | for (auto op : {BIT_AND_EXPR, TRUTH_AND_EXPR}) > > | ^ > > > > 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 > small > > 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 an= y host > C++ is good enough to build GCC as-is but fails to provide > is zero? > Yes, definitely. > I=E2=80=99d be OK to do this change without a new RC even. > > Richard. > > > > > Jakub > > >