diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2952d5cd5ef..687068b212c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-06-28 Christophe Lyon + + * 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 * gcc.dg/tree-ssa/addadd.c: Remove test duplicated in addadd-2.c. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c b/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c index 9ebdf509280..de3e7b242ce 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/copy-sign-1.c @@ -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); diff --git a/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c b/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c index b6a1a790eee..d74ba2fe630 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/mult-abs-2.c @@ -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);