1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fre1" } */
4 struct S { unsigned f; };
15 /* There should only be one load of p->f because fwprop can change
16 *(int *)&p->f into just (int)p->f. */
17 /* { dg-final { scan-tree-dump-times "= \[^\n\]*p_.\\\(D\\\)" 1 "fre1" } } */
18 /* { dg-final { cleanup-tree-dump "fre1" } } */