Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr34966.c
blob6c36fb1e4edaffa32e2b01911144d52ca3b05a8a
1 extern double sin (double), cos (double);
3 __inline double
4 atan (double __x)
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;
15 double
16 f(double x)
18 double t = atan (x);
19 return cos (t) + sin (t);