aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa-chrec/ssa-chrec-23.c
blob: c12bc4bf4694b96506e0357a02c3ba0fb5836813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* APPLE LOCAL file lno */
/* { dg-do compile } */ 
/* { dg-options "-O1 -floop-test -fdump-tree-lptest-details" } */


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

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

/* FIXME. */