2013-11-14 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51867.c
blob3e669cf7b46140d0fb84a487f5a0689a8585ad44
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -fno-math-errno -fdump-rtl-expand" } */
4 extern float sqrtf(float);
6 float a(float x)
8 return sqrtf(x);
10 float b(float x)
12 return sqrtf(x);
14 /* Here the calls to sqrtf should be expanded into CALL_INSNs, rather than
15 fpu sqrtf rtl patterns. */
16 /* { dg-final { scan-rtl-dump-times "call_insn" 2 "expand" } } */
17 /* { dg-final { cleanup-rtl-dump "expand" } } */