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 libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr34017.c
blob
ee279b7c8df897bb7632be5323aea9ddd28588f5
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-loop-linear" } */
3
4
extern
int
s
;
5
6
void
7
foo
(
int
*
x
,
int
y
,
int
z
)
8
{
9
int
m
,
n
;
10
int
o
;
11
int
p
=
x
[
0
];
12
o
=
s
;
13
for
(
m
=
0
;
m
<
s
;
m
++)
14
for
(
n
=
0
;
n
<
s
;
n
++)
15
{
16
if
(
x
[
n
] !=
p
)
17
continue
;
18
if
(
m
>
z
)
19
z
=
m
;
20
if
(
n
<
o
)
21
o
=
n
;
22
}
23
for
(
m
=
y
;
m
<=
z
;
m
++)
24
{
25
}
26
}