OSDN Git Service

* gcc.c-torture/compile/20021120-1.c: New test.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 920608-1.c
1 foo (p)
2      int *p;
3 {
4   int x;
5   int a;
6
7   a = p[0];
8   x = a + 5;
9   a = -1;
10   p[0] = x - 5;
11   return a;
12 }
13
14 bar (p)
15 {
16   short x;
17   int a;
18
19   x = ((short *) p)[1];
20 #if INHIBIT_COMBINE
21   ((short *) p)[0] = x;
22 #endif
23
24   return (x < 45);
25 }