From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7850) id 1B67D3857C65; Wed, 30 Jun 2021 22:29:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B67D3857C65 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Indu Bhagat To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-1940] testsuite: Add missing dg-add-options to CTF testcase ctf-skip-types-4.c X-Act-Checkin: gcc X-Git-Author: Indu Bhagat X-Git-Refname: refs/heads/master X-Git-Oldrev: 13eaeffde5d53638664364a6107f4b6c605b5168 X-Git-Newrev: aa31ae697087940c60d0bb2fa60c951750bb65c4 Message-Id: <20210630222935.1B67D3857C65@sourceware.org> Date: Wed, 30 Jun 2021 22:29:35 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 22:29:35 -0000 https://gcc.gnu.org/g:aa31ae697087940c60d0bb2fa60c951750bb65c4 commit r12-1940-gaa31ae697087940c60d0bb2fa60c951750bb65c4 Author: Indu Bhagat Date: Wed Jun 30 15:13:50 2021 -0700 testsuite: Add missing dg-add-options to CTF testcase ctf-skip-types-4.c The test already has the appropriate dg-require-effective-target, but requires the dg-add-options to use the flags needed, if any. This patch fixes the failure of this testcase on powerpc64. 2021-06-30 Indu Bhagat gcc/testsuite/ * gcc.dg/debug/ctf/ctf-skip-types-4.c: Add dg-add-options float64 and float64x. Diff: --- gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c index f4374e6f0f7..70331216613 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c @@ -14,6 +14,8 @@ /* { dg-require-effective-target float64 } */ /* { dg-require-effective-target float64x } */ +/* { dg-add-options float64 } */ +/* { dg-add-options float64x } */ _Float64 f64; _Float64x f64x;