Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!isi.edu!JDEIFIK From: JDEIFIK@isi.edu (Jeff Deifik) Newsgroups: gnu.gcc.bug Subject: Bug with large local variables. Message-ID: Date: 25 Apr 89 01:31:04 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 When I compile the following program with gcc, and run it it, I get Segmentation fault (core dumped) When I change the 250000 to 125000, the program runs correctly. Throwing the 'L' after the number makes no difference. Version: gcc 1.34 OS: Ultrix 2.0-1, also 4.3bsd Machine: Vax 11/750 Command line: gcc -Wall -O -g a.c tm.h: tm-vax.h md: vax.md Source: #include int main(argc,argv) int argc; char *argv[]; { int a[250000L]; printf("Hello World\n"); } Jeff Deifik jdeifik@isi.edu -------