OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 5.x.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990513-1.c
1
#include <string.h>
2
3
void foo (int *BM_tab, int j)
4
{
5
int *BM_tab_base;
6
7
BM_tab_base = BM_tab;
8
BM_tab += 0400;
9
while (BM_tab_base != BM_tab)
10
{
11
*--BM_tab = j;
12
*--BM_tab = j;
13
*--BM_tab = j;
14
*--BM_tab = j;
15
}
16
}
17
18
int main ()
19
{
20
int BM_tab[0400];
21
memset (BM_tab, 0, sizeof (BM_tab));
22
foo (BM_tab, 6);
23
if (BM_tab[0] != 6)
24
abort ();
25
return 0;
26
}