aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/mulexactdiv-4.c
blob: b641c0bff6d6145789d82b422656df4ca8d9f99b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-options "-O2 -fdump-tree-optimized-raw" } */

int
f1 (int x)
{
  if (x & 15)
    __builtin_unreachable ();
  x /= 2;
  x = (unsigned short) x * 4;
  return x;
}


/* { dg-final { scan-tree-dump {<exact_div_expr, } "optimized" } } */