aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/reassoc-18.c
blob: 417fe2b507350c928605fc2b0d467b152e3df3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-reassoc1" } */

unsigned int
ETree_nFactorEntriesInFront (unsigned int b, unsigned int m)
{
  unsigned int nent = b*b + 2*b*m;
  return nent;
}

/* { dg-final { scan-tree-dump-times "\\\*" 2 "reassoc1" } } */