aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa-chrec/ssa-chrec-23.c
blob: 2b67406b6a9edc90fb5fac61489a16378ba96fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */ 
/* { dg-options "-O1 -fscalar-evolutions -fdump-tree-scev-details" } */


int main ()
{
  int a = 1;
  int b = 1;
  
  while (a)
    {
      a *= b;
      b += 1;
    }
}

/* a  ->  {1, *, {1, +, 1}_1}_1
*/

/* FIXME. */