Yet more PCC bugs (4.2BSD)

Chris Torek chris at umcp-cs.UUCP
Wed Aug 29 17:34:58 AEST 1984

More ways to break PCC:

f()char *f;{return 1;}	/* no complaints!? */

f()char *f;{return "";}	/* "illegal comb. of ops, op RETURN" */

f(i);f(j){return j;}	/* no complaints; `j' accessed via 8(ap) */

f(i);i(f);{		/* "compiler takes alignment of function" */
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland

More information about the Comp.lang.c mailing list