1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/* { 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" } } */