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
Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr43567.c
blob
1bb8042abbbed56626eff59630a79220eea84b5c
1
/* { dg-do run } */
2
/* { dg-options "-O2 -fno-inline -fno-tree-ch -ftree-loop-linear" } */
3
4
extern
void
abort
();
5
6
int
7
test
(
int
n
,
int
*
a
)
8
{
9
int
i
,
j
;
10
11
for
(
i
=
0
;
i
<
n
;
i
++)
12
for
(
j
=
0
;
j
<
n
;
j
++)
13
a
[
j
] =
i
+
n
;
14
15
if
(
a
[
0
] !=
31
||
i
+
n
-
1
!=
31
)
16
abort
();
17
18
return
0
;
19
}
20
21
int
main
(
void
)
22
{
23
int
a
[
16
];
24
test
(
16
,
a
);
25
return
0
;
26
}