1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
4 /* Check that cprop works for assignments to array elements and structs. */
10 extern void link_error (void);
21 test99 (struct foo
*f
)
45 test99999 (int *arr
, int j
)
52 /* There should be no link_error calls, if there is any, the
53 optimization has failed */
54 /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
55 /* { dg-final { cleanup-tree-dump "optimized" } } */