1 /* { dg-do compile } */ 2 3 typedef struct 4 { 5 } st1; 6 7 typedef struct 8 { 9 volatile int c; 10 } __attribute__ ((aligned (4))) st2; 11 12 struct s4 13 { 14 st1 f1; 15 st2 f2; 16 st1 f3; 17 }; 18 19 struct s3; 20 21 void foo(struct s3 * arg,struct s4 * arg1)22foo (struct s3 *arg, struct s4 *arg1) 23 { 24 arg1->f1 = (st1) { }; 25 arg1->f3 = (st1) { }; 26 } 27