PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51867.c
bloba022b6ff8d213ec5a136e16ab970c3a44834370b
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" } } */