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
/
960317-1.c
blob
c65d0364b6596c702ee5c9cc6d071b674184167c
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
int
5
f
(
unsigned
bitcount
,
int
mant
)
6
{
7
int
mask
= -
1
<<
bitcount
;
8
{
9
if
(! (
mant
& -
mask
))
10
goto
ab
;
11
if
(
mant
& ~
mask
)
12
goto
auf
;
13
}
14
ab
:
15
return
0
;
16
auf
:
17
return
1
;
18
}
19
20
int
21
main
(
void
)
22
{
23
if
(
f
(
0
, -
1
))
24
abort
();
25
exit
(
0
);
26
}