Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/gimplefe-15.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |