blob: 6c21ae23d80157103f9e8018a62bd332f1db5316 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-do compile } */
/* { dg-options "-O1 -fscalar-evolutions -fdump-tree-scev-details" } */
int
foo (int i,
int precision)
{
i = precision - i - 1;
/* At this point the analyzer is confused by the initialisation of "i".
It keeps the initial condition under a symbolic form: "i_1". */
while (--i);
}
/* i -> {i_1, +, -1}_1 */
/* FIXME. */
|