1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized --param sra-max-structure-size=32" } */
6 typedef struct teststruct
13 copystruct1 (teststruct param)
23 copystruct11 (teststruct *param)
33 copystruct111 (teststruct param)
35 teststruct *local = ¶m;
53 copystruct11111 (void)
55 teststruct *local = &globf;
62 copystruct111111 (teststruct param)
64 static teststruct local;
71 /* There should be no referenc to link_error. */
72 /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
73 /* { dg-final { cleanup-tree-dump "optimized" } } */