]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, PPC, testsuite] Add requires for DFP to two tests.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 5 Sep 2019 19:40:20 +0000 (19:40 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 5 Sep 2019 19:40:20 +0000 (19:40 +0000)
The two tests use decimal floating point, add the relevant dg-requires
so that they are unsupported on platforms without DFP.

2019-09-05  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
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: r275435

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

index e9a5bc4a2067ab9e8d0631c54154841ce26d802d..73d38bb6053534466c2cdad0af542a2fab994d54 100644 (file)
@@ -3,6 +3,14 @@
        Backport from mainline.
        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-08-05  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
+
        * gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic
        warning about _Bool.
 
index f421ec203a0b0c886e00c2e0a6f651f099273359..64b39ae804f9170c7846ed3214ddf0e9cc55689c 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
-/* { dg-skip-if "" { powerpc*-*-aix* } { "*" } { "" } } */
+/* { dg-require-effective-target dfp } */
+/* { dg-skip-if "" { powerpc*-*-aix* } } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=G5" } } */
 /* { dg-options "-O2 -mcpu=G5 -maltivec" } */
 
index a9cdc8e4792a69497394f08275ce47d9950b0f4e..834e8099e376299db54731f59a8ed1da0e30091f 100644 (file)
@@ -1,6 +1,7 @@
 /* PR rtl-optimization/79909 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -mxl-compat" } */
+/* { dg-require-effective-target dfp } */
 
 typedef float T __attribute__ ((mode (TD)));
 T b, c, d, e, f, g;