Commit 69b7b496 by Christophe Lyon Committed by Christophe Lyon

[testsuite] PR90106 Fix cdce3.c testcase

2019-05-20  Christophe Lyon  <christophe.lyon@linaro.org>

	PR tree-optimization/90106
	* gcc.dg/cdce3.c: Add hard_float effective target.

From-SVN: r271424
parent 664416bc
2019-05-20 Christophe Lyon <christophe.lyon@linaro.org>
PR tree-optimization/90106
* gcc.dg/cdce3.c: Add hard_float effective target.
2019-05-20 Marc Glisse <marc.glisse@inria.fr>
* gcc.dg/torture/pta-ptrarith-3.c: Relax the matched pattern.
......
/* { dg-do compile } */
/* { dg-require-effective-target hard_float } */
/* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
/* { dg-final { scan-tree-dump "cdce3.c:9: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
/* { dg-final { scan-tree-dump "cdce3.c:10: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
/* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
float sqrtf (float);
......
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