aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2021-06-30 15:13:50 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2021-06-30 15:13:50 -0700
commitaa31ae697087940c60d0bb2fa60c951750bb65c4 (patch)
tree818285f51fa25dbb561c520990407ec725a3d0f6
parent13eaeffde5d53638664364a6107f4b6c605b5168 (diff)
downloadgcc-aa31ae697087940c60d0bb2fa60c951750bb65c4.zip
gcc-aa31ae697087940c60d0bb2fa60c951750bb65c4.tar.gz
gcc-aa31ae697087940c60d0bb2fa60c951750bb65c4.tar.bz2
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 <indu.bhagat@oracle.com> gcc/testsuite/ * gcc.dg/debug/ctf/ctf-skip-types-4.c: Add dg-add-options float64 and float64x.
-rw-r--r--gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c2
1 files changed, 2 insertions, 0 deletions
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 f4374e6..7033121 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;