blob: b2c26348dc0d56a4dcad85d9399e4d6c32b7ffd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* { dg-do compile } */
/* { dg-options "-O1 -fscalar-evolutions -fdump-tree-scev-details" } */
int main (void)
{
int a = -100;
int b = 2;
int c = 3;
int d = 4;
/* Determining the number of iterations for the != or == is work in
progress. Same for polynomials of degree >= 2, where we have to
find the zeros of the polynomial. */
while (d)
{
a += 23;
d = a + d;
}
}
/* a -> {-100, +, 23}_1
d -> {4, +, {-77, +, 23}_1}_1
*/
/* FIXME. */
|