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
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr24055.c
blob
5190ec4b96362ecddadd05df839be718bd4b4adf
1
/* PR target/24055 */
2
/* Testcase reduced by Serge Belyshev */
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -ffast-math" } */
5
6
extern
double
rint
(
double
);
7
8
void
foo_1
(
int
*
p
,
double
x
)
9
{
10
*
p
=
rint
(
x
);
11
}
12
13
void
foo_2
(
long long
*
p
,
double
x
)
14
{
15
*
p
=
rint
(
x
);
16
}
17
18
int
foo_3
(
double
x
)
19
{
20
return
rint
(
x
);
21
}
22
23
long long
foo_4
(
double
x
)
24
{
25
return
rint
(
x
);
26
}