Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr34966.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 extern double sin (double), cos (double); |
2 | |
3 __inline double | |
4 atan (double __x) | |
5 { | |
6 register double __result; | |
7 #if defined(__i386__) || defined(__x86_64__) | |
8 __asm __volatile__ ("" : "=t" (__result) : "0" (__x)); | |
9 #else | |
10 __result = __x; | |
11 #endif | |
12 return __result; | |
13 } | |
14 | |
15 double | |
16 f(double x) | |
17 { | |
18 double t = atan (x); | |
19 return cos (t) + sin (t); | |
20 } | |
21 |