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
RISC-V: Bugfix vfmv insn honor zvfhmin for FP16 SEW [PR115763]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
func-ptr-1.c
blob
5d0df69a123a05d86c66a710f45c5d7bb5d39262
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
static double
f
(
float
a
);
5
static double
(*
fp
) (
float
a
);
6
7
int
8
main
(
void
)
9
{
10
fp
=
f
;
11
if
(
fp
((
float
)
1
) !=
1.0
)
12
abort
();
13
exit
(
0
);
14
}
15
16
static double
17
f
(
float
a
)
18
{
19
return
a
;
20
}