8sa1-gcc/gcc/testsuite/gcc.c-torture/code_quality/920608-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

26 lines
236 B
C

foo (p)
int *p;
{
int x;
int a;
a = p[0];
x = a + 5;
a = -1;
p[0] = x - 5;
return a;
}
bar (p)
{
short x;
int a;
x = ((short *) p)[1];
#if INHIBIT_COMBINE
((short *) p)[0] = x;
#endif
return (x < 45);
}