rs6000: Update ELFv2 stack frame comment showing the correct ROP save location
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 981130-1.c
blob9135a9b7bf00fe6b47815d04a108d43e74745caa
1 /* { dg-xfail-if "alias analysis conflicts with instruction scheduling" { m32r-*-* } { "-O2" "-O1" "-O0" "-Os"} { "" } } */
2 void abort (void);
3 void exit (int);
4 struct s { int a; int b;};
5 struct s s1;
6 struct s s2 = { 1, 2, };
8 void
9 check (a, b)
10 int a;
11 int b;
13 if (a == b)
14 exit (0);
15 else
16 abort ();
19 int
20 main ()
22 int * p;
23 int x;
25 s1.a = 9;
26 p = & s1.a;
27 s1 = s2;
28 x = * p;
30 check (x, 1);