copy-sign-1.c, mult-abs-2.c: Restrict to c99_runtime.
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
This commit is contained in:
parent
42bd89ce07
commit
b1cac008e2
@ -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.
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user