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

int __GIMPLE() bar(int a, int b, int c)
{
  a = 1;
  b = a + 1;
  c = b * 4;
  return b;
}

void __GIMPLE() foo()
{
  int a;
  int b;
  int c;
  b = bar(a, b, c);
}