* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 981130-1.c
blobc4ca227d1e857ef1745cf92d7ca96c0b8d4e3266
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, };
6 void
7 check (a, b)
8 int a;
9 int b;
11 if (a == b)
12 exit (0);
13 else
14 abort ();
17 int
18 main ()
20 int * p;
21 int x;
23 s1.a = 9;
24 p = & s1.a;
25 s1 = s2;
26 x = * p;
28 check (x, 1);