From patchwork Tue Apr 25 14:11:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 87419 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3435351vqo; Tue, 25 Apr 2023 07:13:18 -0700 (PDT) X-Google-Smtp-Source: AKy350bu+2zMikwN/06Dgx8H8BcQ5VlLoaQjjQtzSIZEvW7CfeBShBH12wpBnfDeUFywRBrTmyyJ X-Received: by 2002:a17:907:2118:b0:94b:958c:8827 with SMTP id qn24-20020a170907211800b0094b958c8827mr13148511ejb.56.1682431998319; Tue, 25 Apr 2023 07:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682431998; cv=none; d=google.com; s=arc-20160816; b=rrTNY8kezzlB7ScR3kuIMy1rlxUC3U2M/08/BdYF2h+bvsZNByxx+xVPUr6ihsmNOe mSh+GZZ36JErURKOAH10SxhiZTbsbw+VedbG8o0aaiIYeXR5Im+p7a383E68bIES6C4H 3crD1K2jmoPD8D0FssCDfVcgkhwIkevlhxmUmCLHdcAeNgVa65vSA/3+b/XFjuWPIoNx 6gKnPZzfdZ1w3QXuwkie3FZcFkWMngtuM7Ls1MFsLLIXKsDqbizAVbdKznxSNcIw1BRv XPcwnlwfZRIdUFX8rl1ABBqW1Gdt8aFaGDLq864cpFqP2ITvLmyGc8ywPIzvSHCJnutT jB9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=6+FChTFYc16/ixBSrQPrYhU99tptKULZifnOwM9ITwM=; b=hZ0bemEH3G8Aa9+w2x3WEsa0sFr2BK1ea/YzOj56sj2J24MApsaU3QxICnVUpYuyd9 0bFJXp1GIPwsFbIMvwccnU4mktj3Ar1Kz97TuPrD/teEQsYdS/J4wiPKk4lT5ghCtJfA vXq/dtZ0Dc7r8ryISIJ0skJAfYkfowr8RF+wzxV0f7a6R5+sgxRIpYvRK7SZGlSf5K30 6mx0hVsg6LUP1OvVUnIge52DbcI7PyFwh7fdIRyHVulSfianvv3wX39c15zpRDB248cl CvRkYDjhaK7D2CmOjePZ9FjaqErOI31sKObZVyYRVA1bxXFuXf63TTP+OFcMdartz4IF /TWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AjpyAPN9; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ce26-20020a170906b25a00b009537da25cb4si9217049ejb.209.2023.04.25.07.13.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 07:13:18 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AjpyAPN9; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 74A7E3857343 for ; Tue, 25 Apr 2023 14:12:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74A7E3857343 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682431976; bh=6+FChTFYc16/ixBSrQPrYhU99tptKULZifnOwM9ITwM=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=AjpyAPN9sf8wqRHY3xgsrLjhbaKzDihujA6g0othze5DM4YNRnD16wKJsAT0ZJV2d eFNCb/JrN3/qEOOijnLLWtqjB6g5WsbyOg5beSFNpwTH/2DX9YrUfCwg2GjRqzgzAH lsbXk7MfJ8cs+PGayt2sTZc1lSskIQAheWzPOJ1k= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 21E20385840F for ; Tue, 25 Apr 2023 14:11:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 21E20385840F 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-515-j6ZvbeMDMC6vhPmSSbTcOw-1; Tue, 25 Apr 2023 10:11:30 -0400 X-MC-Unique: j6ZvbeMDMC6vhPmSSbTcOw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B8933884ECA for ; Tue, 25 Apr 2023 14:11:29 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.194.156]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 60688492C13 for ; Tue, 25 Apr 2023 14:11:29 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 33PEBQCm2374144 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 25 Apr 2023 16:11:27 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 33PEBQ4A2374143 for gcc-patches@gcc.gnu.org; Tue, 25 Apr 2023 16:11:26 +0200 Date: Tue, 25 Apr 2023 16:11:26 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up ext-floating2.C on powerpc64-linux Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764157815121206786?= X-GMAIL-MSGID: =?utf-8?q?1764157815121206786?= Hi! Another testcase that is failing on powerpc64-linux. The test expects a diagnostics when float64 && float128 or in another spot when float32 && float128. Now, float128 effective target is satisfied on powerpc64-linux, despite __CPP_FLOAT128_T__ not being defined, because one needs to add some extra options for it. I think 32-bit arm has similar case for float16. Tested on x86_64-linux, i686-linux, powerpc64-linux -m32/-m64 and powerpc64le-linux, committed to trunk as obvious, queued for 13.2. 2023-04-25 Jakub Jelinek * g++.dg/cpp23/ext-floating2.C: Add dg-add-options for float16, float32, float64 and float128. Jakub --- gcc/testsuite/g++.dg/cpp23/ext-floating2.C.jj 2022-09-27 08:03:27.116982776 +0200 +++ gcc/testsuite/g++.dg/cpp23/ext-floating2.C 2023-04-25 15:27:09.204863869 +0200 @@ -1,6 +1,10 @@ // P1467R9 - Extended floating-point types and standard names. // { dg-do compile { target c++23 } } // { dg-options "" } +// { dg-add-options float16 } +// { dg-add-options float32 } +// { dg-add-options float64 } +// { dg-add-options float128 } #include "ext-floating.h"