libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46728-6.c
blobbcdaf90bdb80985d36de511b9dd33659613b36b5
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -lm -fno-ident" } */
4 #include <math.h>
6 int
7 main (int argc, char *argv[])
9 volatile double result;
11 result = pow (-0.0, 3.0);
12 result = pow (26.47, -2.0);
13 result = pow (0.0, 0.0);
14 result = pow (22.3, 1.0);
15 result = pow (33.2, -1.0);
17 return 0;
21 /* { dg-final { scan-assembler-not "pow" } } */