gcc/gcc/testsuite/objc.dg call-super-2.m comp- ...

zlaski@gcc.gnu.org zlaski@gcc.gnu.org
Tue Aug 26 23:33:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	objc-improvements-branch
Changes by:	zlaski@gcc.gnu.org	2003-08-26 23:33:26

Modified files:
	gcc/testsuite/objc.dg: call-super-2.m comp-types-1.m 
	                       desig-init-1.m method-1.m method-2.m 
	                       method-5.m method-6.m method-7.m 
	                       method-9.m proto-hier-1.m 
	                       proto-lossage-1.m 
Added files:
	gcc/testsuite/objc.dg: method-10.m 

Log message:
	- Ensure that when only a single method prototype is available for a message,
	use that method's signature in its entirely when constructing the call.
	The method-10.m test case checks for that.
	- When multiple method prototypes are available (when sending to 'id' or
	'Class'), issue a stern warning and use 'id' for return type and '...'
	for arguments, rather than picking some signature at random. :-(
	Test cases have been modified to accommodate the new wording.
	- Fix a duplicate warning, exposed by the comp-types-1.m test case.
	- Fix/streamline the handling of method selectors, esp. hashing.  Also,
	simplify the method addition logic.
	No regressions.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-10.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/call-super-2.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/comp-types-1.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1&r2=1.1.32.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/desig-init-1.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1&r2=1.1.34.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-1.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.2&r2=1.2.48.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-2.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.60.1&r2=1.1.60.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-5.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-6.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-7.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/method-9.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/proto-hier-1.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.64.1&r2=1.1.64.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/proto-lossage-1.m.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1&r2=1.1.32.1



More information about the Gcc-cvs mailing list