PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56125.c
blobd1840a9a059922b5863cb711f49c57d4742ee421
1 /* PR tree-optimization/56125 */
2 /* { dg-do run } */
3 /* { dg-options "-O2 -ffast-math" } */
5 extern void abort (void);
6 extern double fabs (double);
8 __attribute__((cold)) double
9 foo (double x, double n)
11 double u = x / (n * n);
12 return u;
15 int
16 main ()
18 if (fabs (foo (29, 2) - 7.25) > 0.001)
19 abort ();
20 return 0;