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
[middle-end PATCH] Prefer PLUS over IOR in RTL expansion of multi-word shifts/rotates.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990513-1.c
blob
741c11fe53be135dc18c42dc963244ce216d22ec
1
#include <string.h>
2
3
void
abort
(
void
);
4
5
void
foo
(
int
*
BM_tab
,
int
j
)
6
{
7
int
*
BM_tab_base
;
8
9
BM_tab_base
=
BM_tab
;
10
BM_tab
+=
0400
;
11
while
(
BM_tab_base
!=
BM_tab
)
12
{
13
*--
BM_tab
=
j
;
14
*--
BM_tab
=
j
;
15
*--
BM_tab
=
j
;
16
*--
BM_tab
=
j
;
17
}
18
}
19
20
int
main
()
21
{
22
int
BM_tab
[
0400
];
23
memset
(
BM_tab
,
0
,
sizeof
(
BM_tab
));
24
foo
(
BM_tab
,
6
);
25
if
(
BM_tab
[
0
] !=
6
)
26
abort
();
27
return
0
;
28
}