gcc/gcc ChangeLog objc/objc-act.c testsuite/Ch ...

dpatel@gcc.gnu.org dpatel@gcc.gnu.org
Tue Jul 2 16:06:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dpatel@gcc.gnu.org	2002-07-02 16:06:04

Modified files:
	gcc            : ChangeLog 
	gcc/objc       : objc-act.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/objc.dg: param-1.m 

Log message:
	* objc/objc-act.c (adjust_type_for_id_default): Do not allow an
	object as parameter. Prevent something like 'NSObject' to be
	used as the type for a method argument.
	
	testsuite:
	* objc.dg/param-1.m: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.14767&r2=1.14768
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&r1=1.140&r2=1.141
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.1960&r2=1.1961
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/param-1.m.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list