summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gimplefe-31.c
blob: a97d0dd65e3548a4954b008b94d077546e1d130e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O -fgimple -fdump-tree-optimized" } */


unsigned int __GIMPLE() f(int a)
{
  unsigned int t0;
  int t1;
  unsigned int t2;
  t0 = __ABSU a;
  t1 = (int) t0;
  t2 = __ABSU t1;
  return t2;
}

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