(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr80218.c
       1  /* { dg-options "-O2 -fdump-rtl-ira-details-blocks" } */
       2  /* { dg-require-effective-target c99_runtime } */
       3  
       4  #include <math.h>
       5  
       6  void foo (float *);
       7  
       8  void
       9  f1 (float *x)
      10  {
      11    x[0] = sqrtf (x[0]);
      12  }
      13  
      14  void
      15  f2 (float *x)
      16  {
      17    sqrtf (x[0]);
      18    foo (x);
      19  }
      20  
      21  void
      22  f3 (float *x)
      23  {
      24    acosf (x[0]);
      25    foo (x);
      26  }
      27  
      28  /* { dg-final { scan-rtl-dump-not "Invalid sum" "ira" } } */