blob: 8669ee1275131f2d059c0ca92e8e40adcbe6054b [file] [log] [blame]
/* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */
/* { dg-require-effective-target c99_runtime } */
#include <math.h>
void foo (float *);
void
f1 (float *x)
{
x[0] = sqrtf (x[0]);
}
void
f2 (float *x)
{
sqrtf (x[0]);
foo (x);
}
void
f3 (float *x)
{
acosf (x[0]);
foo (x);
}
/* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */