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

_Complex a;

double __GIMPLE() f()
{
  double t1;
  double t2;
  double _1;

bb1:
  t1_2 = __real a;
  t2_3 = __imag a;
  _1 = t1_2 + t2_3;
  return _1;
}

/* { dg-final { scan-tree-dump "__real a" "ssa" } } */
/* { dg-final { scan-tree-dump "__imag a" "ssa" } } */