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.129.124]) by sourceware.org (Postfix) with ESMTPS id CB5FF3858D28 for ; Sun, 1 May 2022 11:41:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CB5FF3858D28 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-425-hxVDJaEZNsS_FjWO2qRuWQ-1; Sun, 01 May 2022 07:41:05 -0400 X-MC-Unique: hxVDJaEZNsS_FjWO2qRuWQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A27968002B2; Sun, 1 May 2022 11:41:04 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5CC0D41616B; Sun, 1 May 2022 11:41:04 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 241Bf1ju2126767 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 1 May 2022 13:41:02 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 241Bf1ci2126766; Sun, 1 May 2022 13:41:01 +0200 Date: Sun, 1 May 2022 13:41:01 +0200 From: Jakub Jelinek To: Iain Sandoe Cc: GCC Development , David Malcolm Subject: Re: GCC 12.1 Release Candidate available from gcc.gnu.org Message-ID: Reply-To: Jakub Jelinek References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, 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 11:41:09 -0000 On 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=c++98 (internal compiler error) > FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++98 (test for excess errors) > XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++14 (internal compiler error) > FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++14 (test for excess errors) > XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++17 (internal compiler error) > FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++17 (test for excess errors) > XPASS: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++20 (internal compiler error) > FAIL: c-c++-common/goacc/kernels-decompose-pr100400-1-2.c -std=c++20 (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” 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 ‘void ana::selftest::test_binop_svalue_folding()’: ../../gcc/analyzer/region-model.cc:4966:48: error: deducing from brace-enclosed initializer list requires ‘#include ’ 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 ‘#include ’ 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. Jakub