1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-Os -fselective-scheduling2 -g" } */
3 int bar (int);
4 int *baz (int *);
5 
6 void
foo(int a)7 foo (int a)
8 {
9   while (bar (0))
10     {
11       int *c = baz (0);
12       if (a)
13 	{
14 	  int i = *baz (c);
15 	}
16       bar (*baz (c));
17     }
18 }
19