]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add missing dg-add-options to CTF testcase ctf-skip-types-4.c
authorIndu Bhagat <indu.bhagat@oracle.com>
Wed, 30 Jun 2021 22:13:50 +0000 (15:13 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Wed, 30 Jun 2021 22:13:50 +0000 (15:13 -0700)
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.

gcc/testsuite/gcc.dg/debug/ctf/ctf-skip-types-4.c

index f4374e6f0f74b27900405306a0364b2ea683b0a1..70331216613ef10f595aa633b8ff648562bd741e 100644 (file)
@@ -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;