[gnu.gcc.bug] Gnu gcc 1.36 dumps core taking address of static function

ado@UUNET.UU.NET (Arthur David Olson) (12/01/89)

(We're running SunOS 4.0.3 on a Sun 3/280.)

Description:
	Gnu gcc 1.36 sometimes dumps core if you take the address of a
	static function and are using the -finline-functions option.

Repeat-By:
	Script started on Sat Nov 11 17:50:15 1989
	$ cat try.c
	static
	funca(p)
	char * p;
	{
	    funcb(p);
	}

	funcc(q)
	register char * q;
	{
	    whatever(*q, funca);
	}
	$ /usr/local/bin/gcc -v -c -finline-functions try.c
	gcc version 1.36
	 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 try.c /usr/tmp/cca03834.cpp
	GNU CPP version 1.36
	 /usr/local/lib/gcc-cc1 /usr/tmp/cca03834.cpp -quiet -dumpbase try.c -finline-functions -version -o /usr/tmp/cca03834.s
	GNU C version 1.36 (68k, MIT syntax) compiled by CC.
	default target switches: -m68020 -mc68020 -m68881 -mbitfield
	/usr/local/bin/gcc: Program cc1 got fatal signal 11.
	$ exit

	script done on Sat Nov 11 17:50:36 1989
-- 
	Arthur David Olson   ado@alw.nih.gov   ADO is a trademark of Ampex.