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
Call abort for runtime test, always return 0 from main.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
run-id-1.c
1
/* { dg-require-effective-target size32plus } */
2
3
void abort (void);
4
5
void foo (int N)
6
{
7
int i, j;
8
int x[1000][1000];
9
10
for (i = 0; i < N; i++)
11
for (j = 0; j < N; j++)
12
x[i][j] = i + j + 3;
13
14
for (i = 0; i < N; i++)
15
for (j = 0; j < N; j++)
16
if (x[i][j] != i + j + 3)
17
abort ();
18
}
19
20
int main(void)
21
{
22
foo (1000);
23
24
return 0;
25
}
26