Commit b1cac008 by Christophe Lyon Committed by Christophe Lyon

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
parent 42bd89ce
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.
......
/* { 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);
......
/* { 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment