1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fipa-sra -fdump-tree-eipa_sra-details" } */
11 extern void foo (float, void *, void *, long);
14 __attribute__((noinline
))
15 ox (struct bovid cow
, int z
, struct bovid calf
, long l
)
17 foo (cow
.red
, cow
.blue
, cow
.blue
, l
);
23 struct bovid cow
, calf
;
37 /* { dg-final { scan-tree-dump "base: z, remove_param" "eipa_sra" } } */
38 /* { dg-final { scan-tree-dump "base: calf, remove_param" "eipa_sra" } } */