Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ucsbcsl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!trwrba!cepu!ucsbcsl!frew From: frew@ucsbcsl.UUCP (James Frew) Newsgroups: net.micro.att Subject: 7300: 32k stack limit? Message-ID: <397@ucsbcsl.UUCP> Date: Wed, 2-Apr-86 12:10:52 EST Article-I.D.: ucsbcsl.397 Posted: Wed Apr 2 12:10:52 1986 Date-Received: Wed, 9-Apr-86 07:29:21 EST Organization: U.C. Santa Barbara Lines: 26 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