comparison gcc/testsuite/gcc.dg/gimplefe-15.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-O -fgimple" } */
3
4 struct Y { int b[2]; };
5 struct X { int a; struct Y y; };
6 struct X x;
7
8 int __GIMPLE ()
9 foo (struct X *p, _Complex int q)
10 {
11 int b;
12 b = __real q;
13 p->a = b;
14 x.y.b[b] = b;
15 b = p->y.b[1];
16 b = x.a;
17 return b;
18 }