gcc/gcc ChangeLog c-common.h c-typeck.c stub-o ...

zlaski@gcc.gnu.org zlaski@gcc.gnu.org
Sun Oct 31 06:17:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	zlaski@gcc.gnu.org	2004-10-31 06:17:55

Modified files:
	gcc            : ChangeLog c-common.h c-typeck.c stub-objc.c 
	gcc/objc       : ChangeLog objc-act.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/objc.dg: local-decl-2.m 

Log message:
	[gcc/ChangeLog]
	2004-10-30  Ziemowit Laski  <zlaski@apple.com>
	
	* c-common.h (objc_lookup_ivar): Add second parameter to
	prototype.
	* c-typeck.c (build_external_ref): After looking up symbol,
	pass it to objc_lookup_ivar() to decide whether it or the
	ivar should be used, rather than deciding the issue locally.
	* stub-objc.c (objc_lookup_ivar): Add an OTHER parameter,
	which is simply returned in the non-ObjC case.
	
	[gcc/objc/ChangeLog]
	2004-10-30  Ziemowit Laski  <zlaski@apple.com>
	
	* objc-act.c (objc_lookup_ivar): The new OTHER parameter
	contains the result of the ID lookup by the C or C++
	front-end; in class methods, use OTHER if it exists;
	in instance methods, use OTHER only if it is locally
	declared.
	
	[gcc/testsuite/ChangeLog]
	2004-10-30  Ziemowit Laski  <zlaski@apple.com>
	
	* objc.dg/local-decl-1.m: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6110&r2=2.6111
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&r1=1.268&r2=1.269
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.393&r2=1.394
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stub-objc.c.diff?cvsroot=gcc&r1=2.7&r2=2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/ChangeLog.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&r1=1.252&r2=1.253
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4527&r2=1.4528
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/objc.dg/local-decl-2.m.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list