[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 3d2fcb56a4e95bb5e14a0c45f7e4b0366d961182..e4f4cf862851c18545f5d5dff8ccfd2bd1c95775 100644 (file)
@@ -1,3 +1,8 @@
+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
index 3882e3f3d4a9f82e2b8f15277b13a3493d3a3632..c726fb70b9734e7097d48aaa026f89664fe603a8 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 d9fb7c332bb4e0525a82cf51550253b7539a273e..d886c32ff39df615d61ada29a674c766b07fc2ed 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)));