gcc.dg/cdce3.c: Skip for mmix.
[gcc.git] / gcc / testsuite / gcc.dg / cdce3.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target hard_float } */
3 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump "cdce3.c:10: \[^\n\r]* function call is shrink-wrapped into error conditions\." "cdce" } } */
5 /* { dg-final { scan-tree-dump "sqrtf \\(\[^\n\r]*\\); \\\[tail call\\\]" "optimized" } } */
6 /* { dg-skip-if "doesn't have a sqrtf insn" { mmix-*-* } } */
7
8 float sqrtf (float);
9 float foo (float x)
10 {
11 return sqrtf (x);
12 }
13