aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/forwprop-17.c
blob: a85d0eb9c50711ecf5aea344bdeb41ef55c56b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-optimized" } */

int foo (int xx, int xy)
{
  xx &=1;
  xy &=1;
  return xx ^ xy;
}

/* { dg-final { scan-tree-dump-times " & 1" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */