Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr46728-6.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -ffast-math -lm -fno-ident" } */ | |
3 | |
4 #include <math.h> | |
5 | |
6 int | |
7 main (int argc, char *argv[]) | |
8 { | |
9 volatile double result; | |
10 | |
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); | |
16 | |
17 return 0; | |
18 } | |
19 | |
20 | |
21 /* { dg-final { scan-assembler-not {pow\M} } } */ |