1 /* PR middle-end/41837 */
2 /* { dg-do compile } */
3 /* { dg-options "-fipa-struct-reorg -O -fwhole-program -fprofile-generate" } */
5 typedef struct { int a
, b
; } T1
;
10 struct S4
{ union { int c
; } d
; };
11 struct S2
{ int e
; T2 f
; int g
; };
12 typedef struct { T3 h
; } T6
;
13 typedef struct { int i
; } *T7
;
14 struct S3
{ T6 j
; T7 k
; };
17 void f6 (void (*)(T4
));
18 void f7 (void (*)(T5
, T1
*));