repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gimplefe-15.c
blob
ca990313c4ebb6d69a45c21d11a6e6179410b6fd
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
}