2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80218.c
blob8669ee1275131f2d059c0ca92e8e40adcbe6054b
1 /* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */
2 /* { dg-require-effective-target c99_runtime } */
4 #include <math.h>
6 void foo (float *);
8 void
9 f1 (float *x)
11 x[0] = sqrtf (x[0]);
14 void
15 f2 (float *x)
17 sqrtf (x[0]);
18 foo (x);
21 void
22 f3 (float *x)
24 acosf (x[0]);
25 foo (x);
28 /* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */