libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / modref-11.c
blob10ebe1ff47406fd40348db97c456391852e9cd31
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-modref1 -fno-ipa-pure-const" } */
3 struct linkedlist {
4 struct linkedlist *next;
5 };
6 struct linkedlist *
7 find_last (struct linkedlist *l)
9 while (l->next)
10 l = l->next;
11 return l;
13 /* { dg-final { scan-tree-dump "parm 0 flags: no_direct_clobber no_indirect_clobber no_direct_escape no_indirect_escape" "modref1"} } */