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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr59594.c
blob
947fa4c0c301d98cbdfeb5da541482858b69180f
1
/* PR tree-optimization/59594 */
2
3
#include
"tree-vect.h"
4
5
#define N 1024
6
int
b
[
N
+
2
];
7
8
int
9
main
()
10
{
11
int
i
;
12
check_vect
();
13
for
(
i
=
0
;
i
<
N
+
1
;
i
++)
14
{
15
b
[
i
] =
i
;
16
asm
(
""
);
17
}
18
for
(
i
=
N
;
i
>=
0
;
i
--)
19
{
20
b
[
i
+
1
] =
b
[
i
];
21
b
[
i
] =
1
;
22
}
23
if
(
b
[
0
] !=
1
)
24
__builtin_abort
();
25
for
(
i
=
0
;
i
<
N
;
i
++)
26
if
(
b
[
i
+
1
] !=
i
)
27
__builtin_abort
();
28
return
0
;
29
}
30