1 /* { dg-xfail-if "alias analysis conflicts with instruction scheduling" { m32r-*-* } { "-O2" "-O1" "-O0" "-Os"} { "" } } */
2 struct s { int a; int b;};
3 struct s s1;
4 struct s s2 = { 1, 2, };
5 
6 void
check(a,b)7 check (a, b)
8      int a;
9      int b;
10 {
11   if (a == b)
12     exit (0);
13   else
14     abort ();
15 }
16 
17 int
main()18 main ()
19 {
20   int * p;
21   int x;
22 
23   s1.a = 9;
24   p    = & s1.a;
25   s1   = s2;
26   x    = * p;
27 
28   check (x, 1);
29 }
30 
31 
32