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
2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr49771.c
blob
1d8b9b34dd7b24f4aeba06f463e20856f1904afd
1
extern
void
abort
(
void
);
2
3
#include <stdarg.h>
4
#include
"tree-vect.h"
5
6
static int
a
[
1000
];
7
8
int
9
foo
(
void
)
10
{
11
int
j
;
12
int
i
;
13
for
(
i
=
0
;
i
<
1000
;
i
++)
14
for
(
j
=
0
;
j
<
1000
;
j
++)
15
a
[
j
] =
a
[
i
] +
1
;
16
return
a
[
0
];
17
}
18
19
int
20
main
(
void
)
21
{
22
int
res
;
23
check_vect
();
24
res
=
foo
();
25
if
(
res
!=
1999
)
26
abort
();
27
return
0
;
28
}
29