From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199705141449.JAA05984@stommel.tamu.edu> Date: Wed, 14 May 1997 09:49:45 -0500 (CDT) From: Richard Henderson Subject: Re: gcc optimizations cause compile error (SIG 6) in attached program In-Reply-To: > Is this a known bug with gcc ? Yes. The reload pass has problems with stack frames larger than an immediate offset off the stack pointer, i.e. 32K. While the problem is worked on, workaround by allocating big automatic arrays with alloca instead, i.e: #include void write_image_bin(double **image) { int *imageint2, j, k; imageint2 = (int *)alloca(sizeof(int)*IMGSIZ*IMGSIZ); for (j=0;j