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 testsuite/52641
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
vrp49.c
blob
664ad93ef96c0cc62956769ce5f6fc8e62cb4590
1
/* { dg-do link } */
2
/* { dg-options "-O2" } */
3
4
extern
void
link_error
(
void
)
__attribute__
((
noreturn
));
5
int
n
;
6
float
*
x
;
7
int
main
()
8
{
9
if
(
n
>
0
)
10
{
11
int
i
=
0
;
12
do
13
{
14
long long
index
;
15
i
=
i
+
1
;
16
index
=
i
;
17
if
(
index
<=
0
)
18
link_error
();
19
x
[
index
] =
0
;
20
i
=
i
+
1
;
21
index
=
i
;
22
if
(
index
<=
0
)
23
link_error
();
24
x
[
index
] =
0
;
25
}
26
while
(
i
<
n
);
27
}
28
}