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


int main ()
{
  int b = 2;
  
  while (b)
    {
      /* Exercises the MULT_EXPR.  */
      b = 2*b;
    }
}

/* b  ->  {2, *, 2}_1
*/

/* FIXME. */