[Darwin, PPC, testsuite] Add requires for DFP to two tests.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 22 Jun 2019 19:43:26 +0000 (19:43 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 22 Jun 2019 19:43:26 +0000 (19:43 +0000)
The two tests use decimal floating point, add the relevant dg-requires
so that they are unsupported on platforms without DFP.

2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/powerpc/pr64205.c: Require effective target dfp.
* gcc.target/powerpc/pr79909.c: Likewise.

From-SVN: r272592

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr64205.c
gcc/testsuite/gcc.target/powerpc/pr79909.c

index 3d2fcb5..e4f4cf8 100644 (file)
@@ -1,5 +1,10 @@
 2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
 
+       * gcc.target/powerpc/pr64205.c: Require effective target dfp.
+       * gcc.target/powerpc/pr79909.c: Likewise.
+
+2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
+
        * gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic
        warning about _Bool.
 
index 3882e3f..c726fb7 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
+/* { dg-require-effective-target dfp } */
 /* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-options "-O2 -mdejagnu-cpu=G5 -maltivec" } */
 
index d9fb7c3..d886c32 100644 (file)
@@ -1,6 +1,7 @@
 /* PR rtl-optimization/79909 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -mxl-compat" } */
+/* { dg-require-effective-target dfp } */
 /* { dg-skip-if "DFP" { powerpc*-*-aix* } } */
 
 typedef float T __attribute__ ((mode (TD)));