(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr41094.c
       1  /* { dg-do run } */
       2  /* { dg-options "-ffast-math" } */
       3  
       4  #include <math.h>
       5  
       6  extern void abort (void);
       7  
       8  double foo(void)
       9  {
      10    double x = -4.0;
      11    return pow (x * x, 0.25);
      12  }
      13  
      14  int main()
      15  {
      16    double r = foo ();
      17    if (r != 2.0)
      18      abort ();
      19    return 0;
      20  }