frew@ucsbcsl.UUCP (James Frew) (04/02/86)
The C compiler on the 7300 apparently cannot handle stacks larger than 32K.
The following fragment illustrates the problem:
------------------------------------------------------------------------------
#ifdef FIX
#define SIZE 32767
#else
#define SIZE 32768
#endif
f()
{
char array[SIZE];
char c;
/*
Assembler: foo.c
aline 8 : displacement exceeds 16 bits
*/
return (c);
}
------------------------------------------------------------------------------
Is this documented anywhere? Is there some magic cc/as flag to enable 32-bit
displacements?
--
James Frew ucbvax!ucsbcsl!frew
Computer Systems Lab., Univ. of Calif., Santa Barbara, CA 93106
(805) 961-2309