Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!cme.nist.gov!newton From: newton@cme.nist.gov (Eric Newton) Newsgroups: gnu.gcc.bug Subject: big arrays for iris-4D are broken Message-ID: <9002231837.AA03132@aruba.cme.nist.gov> Date: 23 Feb 90 18:37:46 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 28 /* gcc-1.37 configured for "iris" This program, compiled without any options, dumps core. TOO_BIG here is any integer larger than 8186. */ #include #DEFINE TOO_BIG 10000 main () { char * s[TOO_BIG]; printf("Hello world\n"); s[0] = " "; printf("Hello world\n"); } /* prints: Hello world Segmentation fault (core dumped) */