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
2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr43305.c
blob
c8aeaf23ccc47216b4a8c96b8cc78d3383a43300
1
/* { dg-do compile } */
2
/* { dg-options "-Os -ffast-math" } */
3
extern
int
ilogbl
(
long double
);
4
extern
int
printf
(
const char
*
format
, ...);
5
6
__attribute__
((
noinline
,
noclone
))
7
int
foo
(
long double
x
)
8
{
9
return
ilogbl
(
x
);
10
}
11
12
int
main
()
13
{
14
printf
(
"%d
\n
"
,
foo
(
100
));
15
return
0
;
16
}