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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr78148.c
blob
c3c9b2e9a892aaec6ff2a646a8113112dffb4be9
1
/* PR target/78148 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fcompare-debug" } */
4
5
struct
A
{
int
a
,
b
; };
6
struct
B
{
char
c
,
d
; };
7
extern
void
bar
(
struct
A
,
struct
B
);
8
struct
C
{
char
e
,
f
; }
a
;
9
struct
D
10
{
11
int
g
;
12
struct
C h
[
4
];
13
};
14
struct
D
*
e
;
15
16
struct
D
17
foo
(
void
)
18
{
19
int
b
;
20
struct
B c
;
21
struct
A d
;
22
d
.
b
=
c
.
c
=
c
.
d
=
0
;
23
bar
(
d
,
c
);
24
}
25
26
void
27
baz
()
28
{
29
e
->
h
[
0
].
e
=
e
->
h
[
0
].
f
=
0
;
30
foo
();
31
}