From: Iain Sandoe Date: Sat, 22 Jun 2019 19:43:26 +0000 (+0000) Subject: [Darwin, PPC, testsuite] Add requires for DFP to two tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9fe6cc4251d68866779f3e8d86af1a050fa2ae5;p=gcc.git [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 * gcc.target/powerpc/pr64205.c: Require effective target dfp. * gcc.target/powerpc/pr79909.c: Likewise. From-SVN: r272592 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3d2fcb56a4e..e4f4cf86285 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-22 Iain Sandoe + + * gcc.target/powerpc/pr64205.c: Require effective target dfp. + * gcc.target/powerpc/pr79909.c: Likewise. + 2019-06-22 Iain Sandoe * gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic diff --git a/gcc/testsuite/gcc.target/powerpc/pr64205.c b/gcc/testsuite/gcc.target/powerpc/pr64205.c index 3882e3f3d4a..c726fb70b97 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 d9fb7c332bb..d886c32ff39 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)));