From patchwork Tue Apr 25 12:44:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 87384 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3376836vqo; Tue, 25 Apr 2023 05:45:49 -0700 (PDT) X-Google-Smtp-Source: AKy350ZW5NxAjmYIoV2W78pEZ4e2n0yM5Z5rig+u2mbnwv4pfibUrjBS8fiLNSoxZ3Vf9BS6mq4T X-Received: by 2002:a17:906:63d1:b0:94f:cee:56f2 with SMTP id u17-20020a17090663d100b0094f0cee56f2mr12054839ejk.4.1682426749596; Tue, 25 Apr 2023 05:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682426749; cv=none; d=google.com; s=arc-20160816; b=UTKcJdcqzMpKz2Z+vj7CpMz0Lh/fwWMGEUe6dxlMvkkA1KHIbURkI+NeSZJ/sYmI97 nfuFwzb6LU855cn2lvgoWD4onhEPqKFFr4Vk+hmd4x8EZ8erAOGGlxJVvBz21YDggsXg VE9MJRSs0Jx0owbnlNc8lyAN4aeZPf7uyyC8R1LX28zewPnpgBTAKp0tRrOQkC4l/PKl +HFOip8bhl9TZbozOUn4bzYzgLYZXpKNV2//PU9l/fwPS4fHUCp/w296rpI3wNL2GAIy DfAfkoQDx4O9/ZS6ITYJZLIEnjdWJdVb3/1YFAkpfdc5g27eA8CCsY7mR2GvOruzt8GV /4bg== 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=0YtLpvrIjMm1A/Qh3XoeRKe7KtWJV/oYaZhtb1KcHjI=; b=YLnqdot4DKMrbpYnGRoYFKoKn8fiseycyOvfkupcJMtGC7hEUtV8EMyttsT4FJgyxl kmqEPlgWNZoti7L1VoK6tBlKNIQ74HzTcFG3ZUDB6cdhAtOts0LPvRKb5XUA0zCvaZME OQSoqlIZtYRyBvJ4iipIF4scVkc0x1ZMPasOIO3fiXV9huXnzt8wl/l/9PzGnTPxqL+e lxf0WoRgsICklJ8+I1xWurRFMIm19VllgWq+AyiRUmrvyIc2yOz6vg1yDqDRhPWXGezy TAxeZcnKZD+F6BMpiPLqhZ5gwvorJIT+KOMRZL+p9RS60ugobswhM+Woh0QlhiGB6TvD vItA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=E32FsZNE; 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 ay22-20020a170906d29600b0094f790be551si9171646ejb.306.2023.04.25.05.45.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 05:45:49 -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=E32FsZNE; 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 711BC3858408 for ; Tue, 25 Apr 2023 12:45:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 711BC3858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682426748; bh=0YtLpvrIjMm1A/Qh3XoeRKe7KtWJV/oYaZhtb1KcHjI=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=E32FsZNEmLHSs0P+GNrLo6LRNl4eiSVDKpNs1OrxLq+hk6gLZOZAqEC5KRBsYvorv mQuVoQYtfhsXzbsvSZ7HyxaPnWWhRWU/jCtRY0B7WtF0sQR7owsx/WQKldBQUXxQ85 UDKHTmMujP9Z+sdt5FjsqovaVenpuYdzR0F+Kt/g= 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.133.124]) by sourceware.org (Postfix) with ESMTPS id BEA4C3858D1E for ; Tue, 25 Apr 2023 12:45:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BEA4C3858D1E Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-472-DapUghTwNzC9-d0cNE3BeQ-1; Tue, 25 Apr 2023 08:45:02 -0400 X-MC-Unique: DapUghTwNzC9-d0cNE3BeQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 54F871C08966 for ; Tue, 25 Apr 2023 12:45:02 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.194.156]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 145EF4C82F for ; Tue, 25 Apr 2023 12:45:01 +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 33PCixwc2365088 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 25 Apr 2023 14:44:59 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 33PCiwRo2365087 for gcc-patches@gcc.gnu.org; Tue, 25 Apr 2023 14:44:58 +0200 Date: Tue, 25 Apr 2023 14:44:58 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up ext-floating15.C tests on powerpc64-linux [PR109278] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.8 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?1764152311276033636?= X-GMAIL-MSGID: =?utf-8?q?1764152311276033636?= Hi! I've noticed this test FAILs on powerpc64-linux, with FAIL: g++.dg/cpp23/ext-floating15.C -std=gnu++98 (test for excess errors) Excess errors: /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:1: error: variable or field 'bar' declared void /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:6: error: expected primary-expression before '_Float128' and similarly other std versions. powerpc64-linux is float128 target, but needs to add some options for it. Fixed by adding them. Tested on x86_64-linux, i686-linux, powerpc64-linux and powerpc64le-linux, committed to trunk as obvious, queued for 13.2. 2023-04-25 Jakub Jelinek PR c++/109278 * g++.dg/cpp23/ext-floating15.C: Add dg-add-options float128. Jakub --- gcc/testsuite/g++.dg/cpp23/ext-floating15.C.jj 2023-03-30 09:34:05.609725768 +0200 +++ gcc/testsuite/g++.dg/cpp23/ext-floating15.C 2023-04-24 13:17:40.466212406 +0200 @@ -1,6 +1,7 @@ // PR c++/109278 // { dg-do compile { target float128 } } // { dg-options "-w" } +// { dg-add-options float128 } void foo (long double); // { dg-bogus "initializing argument 1 of" }