repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr34966.c
blob
6c36fb1e4edaffa32e2b01911144d52ca3b05a8a
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