From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id 215633858D1E; Tue, 25 Apr 2023 12:42:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 215633858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682426548; bh=dOjwnjOPiJ06Qh+P/Z6zr1xuHK0n6TVuNeEDQ1fVie8=; h=From:To:Subject:Date:From; b=PjojaeQF0zJgLNVC5SKXLb1Wnz77c4O8Hc7rR2koopwRyTRuLJtASeZP6esODpLCP R6YR22pBv6cFhnNqmVISjLx9/+bUnHI37QnnsYwq6NqJ6M019Mk1Ely0vg++EaTRRQ shfezMB2ABkkZU16ijgI1HCkfh3yOKmUy2VXojVs= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-220] testsuite: Fix up ext-floating15.C tests on powerpc64-linux [PR109278] X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: 6d4bd27a60447c7505cb4783e675e98a191a8904 X-Git-Newrev: 784e03f378bb2c330b96459928d0472d38748970 Message-Id: <20230425124228.215633858D1E@sourceware.org> Date: Tue, 25 Apr 2023 12:42:28 +0000 (GMT) List-Id: https://gcc.gnu.org/g:784e03f378bb2c330b96459928d0472d38748970 commit r14-220-g784e03f378bb2c330b96459928d0472d38748970 Author: Jakub Jelinek Date: Tue Apr 25 14:38:01 2023 +0200 testsuite: Fix up ext-floating15.C tests on powerpc64-linux [PR109278] 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. 2023-04-25 Jakub Jelinek PR c++/109278 * g++.dg/cpp23/ext-floating15.C: Add dg-add-options float128. Diff: --- gcc/testsuite/g++.dg/cpp23/ext-floating15.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/cpp23/ext-floating15.C b/gcc/testsuite/g++.dg/cpp23/ext-floating15.C index 316dd5abacd..6d7dc6ad682 100644 --- a/gcc/testsuite/g++.dg/cpp23/ext-floating15.C +++ b/gcc/testsuite/g++.dg/cpp23/ext-floating15.C @@ -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" }