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
Let tree_single_nonzero_warnv_p use range information
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42719.c
blob
06adf52a4ef4873e51cca3ede6589bc6cc02a485
1
/* PR tree-optimization/42719 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftracer -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
5
6
int
*
v
;
7
8
void
9
foo
(
int
a
)
10
{
11
int
i
,
j
;
12
for
(
j
=
i
=
a
;
i
!= -
1
;
j
=
i
,
i
=
v
[
i
])
13
;
14
v
[
j
] =
v
[
a
];
15
}