1 /* PR optimization/10467 */
2 /* { dg-do compile { target arm*-*-* xscale*-*-* strongarm*-*-* } } */
3 /* { dg-options "-O2 -mthumb" } */
5 typedef enum {Ident_1
} Enumeration
;
9 struct record
*Ptr_Comp
;
13 Enumeration Enum_Comp
;
23 Rec_Pointer Ptr_Val_Par
;
25 Rec_Pointer Next_Record
= Ptr_Val_Par
->Ptr_Comp
;
27 *Ptr_Val_Par
->Ptr_Comp
= *Ptr_Glob
;
29 if (Next_Record
->Discr
== Ident_1
)
31 Proc_7 (Next_Record
->variant
.var_1
.Int_Comp
, 10,
32 &Next_Record
->variant
.var_1
.Int_Comp
);