1 /* PR tree-optimization/82059 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-isolate-paths" } */
4 /* { dg-skip-if "accessing data memory with program memory address" { avr-*-* } } */
5 
6 struct a
7 {
8   char b;
9   struct a *c;
10 } d (), f;
11 void *e;
12 long g;
13 void
h()14 h ()
15 {
16   struct a *i = 0;
17   if (g)
18     i = e;
19   if (!i)
20     d ();
21   i->c = &f;
22   i->b = *(char *) h;
23 }
24