"Hello World" core dumps

Gabriel Dos Reis dosreis@cmla.ens-cachan.fr
Mon Nov 15 08:39:00 GMT 1999


The following causes a core dump on a Solaris-2.[567] and on a
i386-linux 

	#include <stdio.h>

	int main()
	{
		unsigned char buf[10000000];
		printf("Hello World\n");
	}

This is a snippet from a real-life application.

Any thoughts?

-- Gaby


More information about the Gcc-bugs mailing list