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
[PATCH v2 2/3] RISC-V: setmem for RISCV with V extension
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
991202-3.c
blob
aa9982fa87480fa3f2d58f9dc729029a7ed5564a
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
unsigned int
f
(
unsigned int
a
)
5
{
6
return
a
*
65536
/
8
;
7
}
8
9
unsigned int
g
(
unsigned int
a
)
10
{
11
return
a
*
65536
;
12
}
13
14
unsigned int
h
(
unsigned int
a
)
15
{
16
return
a
/
8
;
17
}
18
19
int
main
()
20
{
21
if
(
f
(
65536
) !=
h
(
g
(
65536
)))
22
abort
();
23
exit
(
0
);
24
}