aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-06-22 19:43:26 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-06-22 19:43:26 +0000
commitd9fe6cc4251d68866779f3e8d86af1a050fa2ae5 (patch)
tree2edc01ff03019234d8681ad3cec7d933b2071c6e /gcc
parent2d8a7648868a076eabadfaa558b21dbc7e441ddd (diff)
downloadgcc-d9fe6cc4251d68866779f3e8d86af1a050fa2ae5.zip
gcc-d9fe6cc4251d68866779f3e8d86af1a050fa2ae5.tar.gz
gcc-d9fe6cc4251d68866779f3e8d86af1a050fa2ae5.tar.bz2
[Darwin, PPC, testsuite] Add requires for DFP to two tests.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/powerpc/pr64205.c1
-rw-r--r--gcc/testsuite/gcc.target/powerpc/pr79909.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3d2fcb5..e4f4cf8 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.target/powerpc/pr64205.c b/gcc/testsuite/gcc.target/powerpc/pr64205.c
index 3882e3f..c726fb7 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr64205.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr64205.c
@@ -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" } */
diff --git a/gcc/testsuite/gcc.target/powerpc/pr79909.c b/gcc/testsuite/gcc.target/powerpc/pr79909.c
index d9fb7c3..d886c32 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr79909.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr79909.c
@@ -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)));