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
* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
961213-1.c
blob
12bb27f31459879518f1c2e4c92b9e5f2739f55a
1
int
2
g
(
unsigned long long int
*
v
,
int
n
,
unsigned int
a
[],
int
b
)
3
{
4
int
cnt
;
5
*
v
=
0
;
6
for
(
cnt
=
0
;
cnt
<
n
; ++
cnt
)
7
*
v
= *
v
*
b
+
a
[
cnt
];
8
return
n
;
9
}
10
11
main
()
12
{
13
int
res
;
14
unsigned int
ar
[] = {
10
,
11
,
12
,
13
,
14
};
15
unsigned long long int
v
;
16
17
res
=
g
(&
v
,
sizeof
(
ar
)/
sizeof
(
ar
[
0
]),
ar
,
16
);
18
if
(
v
!=
0xabcde
UL
)
19
abort
();
20
21
exit
(
0
);
22
}