copy-sign-1.c, mult-abs-2.c: Restrict to c99_runtime.
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 28 Jun 2017 12:18:31 +0000 (12:18 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Wed, 28 Jun 2017 12:18:31 +0000 (14:18 +0200)
2017-06-28  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.dg/tree-ssa/copy-sign-1.c: Add c99_runtime effective target
and options.
* gcc.dg/tree-ssa/mult-abs-2.c: Likewise.

From-SVN: r249733

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c
gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c

index 2952d5cd5ef7cd291fb2b88340adbd30ab8c9612..687068b212c4d68140244ea6bdc3a0fb4a401c51 100644 (file)
@@ -1,3 +1,9 @@
+2017-06-28  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.dg/tree-ssa/copy-sign-1.c: Add c99_runtime effective target
+       and options.
+       * gcc.dg/tree-ssa/mult-abs-2.c: Likewise.
+
 2017-06-28  Marc Glisse  <marc.glisse@inria.fr>
 
        * gcc.dg/tree-ssa/addadd.c: Remove test duplicated in addadd-2.c.
index 9ebdf50928028aa84555eef16b00279de0c1458f..de3e7b242ceb7b76262456e899615da4b1bd5291 100644 (file)
@@ -1,5 +1,7 @@
-/* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */
 /* { dg-do compile } */
+/* { dg-require-effective-target c99_runtime } */
+/* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */
+/* { dg-add-options c99_runtime } */
 float f(float x)
 {
   return (x > 0.f ? -1.f : 1.f);
index b6a1a790eeeb9465d406a806c287fd0092031261..d74ba2fe630924dc76006d0c32040a37ec321caf 100644 (file)
@@ -1,5 +1,8 @@
-/* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */
 /* { dg-do compile } */
+/* { dg-require-effective-target c99_runtime } */
+/* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */
+/* { dg-add-options c99_runtime } */
+
 float f(float x)
 {
   return x * (x > 0.f ? -1.f : 1.f);