projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.3
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr49771.c
1
#include <stdlib.h>
2
#include <stdarg.h>
3
4
static int a[1000];
5
6
int
7
foo (void)
8
{
9
int j;
10
int i;
11
for (i = 0; i < 1000; i++)
12
for (j = 0; j < 1000; j++)
13
a[j] = a[i] + 1;
14
return a[0];
15
}
16
17
int
18
main (void)
19
{
20
int res = foo ();
21
if (res != 1999)
22
abort ();
23
return 0;
24
}
25
26
/* { dg-final { cleanup-tree-dump "vect" } } */