1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 /* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */
4 /* { dg-additional-options "-mno-altivec -mno-vsx" { target powerpc*-*-* } } */
5 
6 extern void fn2();
7 struct {
8     unsigned qp_num;
9     unsigned starting_psn;
10     void *private_data;
11 } a;
12 struct {
13     unsigned id;
14     unsigned qpn;
15     unsigned psn;
16 } b;
fn1()17 void fn1() {
18     a.qp_num = b.qpn;
19     a.starting_psn = b.psn;
20     fn2(b.id);
21 }
22