gcc gcc/ChangeLog.objc-improvements gcc/c-comm ...

zlaski@gcc.gnu.org zlaski@gcc.gnu.org
Sat Jun 26 04:01:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	objc-improvements-branch
Changes by:	zlaski@gcc.gnu.org	2004-06-26 04:01:42

Modified files:
	gcc            : ChangeLog.objc-improvements c-common.h 
	                 c-objc-common.c c-parse.in stub-objc.c 
	gcc/cp         : ChangeLog.objc-improvements decl2.c 
	gcc/objc       : ChangeLog.objc-improvements objc-act.c 
	                 objc-act.h 
	gcc/testsuite  : ChangeLog.objc-improvements 
	gcc/testsuite/obj-c++.dg: proto-qual-1.mm template-4.mm 
	                          va-meth-1.mm 
	gcc/testsuite/objc.dg: va-meth-1.m 
	libobjc/objc   : NXConstStr.h Object.h Protocol.h encoding.h 
	                 hash.h objc-api.h objc-list.h objc.h runtime.h 
	                 sarray.h thr.h typedstream.h 
Added files:
	libobjc        : ChangeLog.objc-improvements 

Log message:
	[gcc/ChangeLog.objc-improvements]
	2004-06-25  Ziemowit Laski  <zlaski@apple.com>
	
	* c-common.h (objc_static_init_needed_p,
	objc_generate_static_init_call): New prototypes.
	* c-objc-common.c (build_cdtor): If present, call the Objective-C
	static initializer before all others.
	* c-parse.in (opt_semi): New nonterminal.
	(methoddef): Allow for an optional semicolon in method definitions.
	* stub-objc.c (objc_static_init_needed_p,
	objc_generate_static_init_call): New stubs.
	
	[gcc/cp/ChangeLog.objc-improvements]
	2004-06-25  Ziemowit Laski  <zlaski@apple.com>
	
	* decl2.c (generate_ctor_or_dtor_function): If present, call
	the Objective-C++ static initializer before all others.
	
	[gcc/objc/ChangeLog.objc-improvements]
	2004-06-25  Ziemowit Laski  <zlaski@apple.com>
	
	* objc-act.c (build_module_initializer_routine): New function,
	broken off of build_module_descriptor().
	(init_objc_symtab): Cast initializer element to appropriate
	type.
	(build_module_descriptor): Always mark module descriptor as
	used; move GNU runtime-specific functionality to
	build_module_initializer_routine().
	(objc_static_init_needed_p, objc_generate_static_init_call): New
	functions, called from within C and C++ static initializer logic.
	(build_selector, build_typed_selector_reference): Always convert
	result to the selector type.
	(build_method_prototype_template, build_selector_template,
	build_method_template): Use actual selector type for fields
	pointing to selectors.
	(finish_objc): For GNU runtime, call
	build_module_initializer_routine() after build_module_descriptor().
	* objc-act.h (OCTI_GNU_INIT_DECL, GNU_INIT_decl): New.
	
	[gcc/testsuite/ChangeLog.objc-improvements]
	2004-06-25  Ziemowit Laski  <zlaski@apple.com>
	
	* obj-c++.dg/proto-qual-1.mm: Include <stdio.h> instead of
	prototyping sscanf().
	* obj-c++.dg/template-4.mm: Include <stdarg.h>, <stdlib.h>
	and (on NeXT runtime) <objc/NXConstStr.h>; do not
	prototype abort().
	* obj-c++.dg/va-meth-1.mm: Include <stdarg.h>.
	* objc.dg/va-meth-1.m: Likewise.
	
	[libobjc/ChangeLog.objc-improvements]
	2004-06-25  Ziemowit Laski  <zlaski@apple.com>
	
	* objc/NXConstStr.h: Update copyright date; bracket with
	'extern "C"' for C++ use; make include syntax consistent
	by using <...> instead of "..."; hoist <objc/...> includes
	above the 'extern "C"' block.
	* objc/Object.h: Likewise.
	* objc/Protocol.h: Likewise.
	* objc/encoding.h: Likewise.
	* objc/hash.h: Likewise.
	* objc/runtime.h: Likewise.
	* objc/sarray.h: Likewise.
	* objc/thr.h: Likewise.
	* objc/typedstream.h: Likewise.
	* objc/objc-api.h: Add 'extern "C"' block for C++ use.
	(objc_static_instances): For C++ case, do away with
	zero-sized array.
	(objc_method): Hoist definition to file scope.
	(_objc_load_callback, _objc_object_alloc, class_get_class_method,
	class_get_instance_method, class_create_instance,
	class_get_class_name, class_get_instance_size,
	class_get_meta_class, class_get_super_class, class_get_version,
	class_is_class, class_is_meta_class, class_set_version,
	class_get_gc_object_type, class_ivar_set_gcinvisible,
	get_imp): Rename 'class' parameter to '_class'.
	* objc/objc-list.h: Add 'extern "C"' block for C++ use.
	* objc/objc.h: Update copyright date.
	(arglist_t): Provide a union tag.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.objc-improvements.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.3&r2=1.1.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.189.2.17&r2=1.189.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-objc-common.c.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.27.2.9&r2=1.27.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.170.2.13&r2=1.170.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stub-objc.c.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.objc-improvements.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.646.2.13&r2=1.646.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/ChangeLog.objc-improvements.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.c.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.179.2.28&r2=1.179.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/objc/objc-act.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.16.4.10&r2=1.16.4.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.objc-improvements.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.1.2.6&r2=1.1.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/proto-qual-1.mm.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/obj-c++.dg/template-4.mm.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/obj-c++.dg/va-meth-1.mm.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/va-meth-1.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/libobjc/ChangeLog.objc-improvements.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/libobjc/objc/NXConstStr.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.3&r2=1.3.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/Object.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.3&r2=1.3.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/Protocol.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.4&r2=1.4.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/encoding.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.4&r2=1.4.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/hash.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.6.4.2&r2=1.6.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/objc-api.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.7.4.2&r2=1.7.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/objc-list.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.5&r2=1.5.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/objc.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.4&r2=1.4.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/runtime.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.4.4.1&r2=1.4.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/sarray.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.4&r2=1.4.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/thr.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.6&r2=1.6.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libobjc/objc/typedstream.h.diff?cvsroot=gcc&only_with_tag=objc-improvements-branch&r1=1.3.4.1&r2=1.3.4.2



More information about the Gcc-cvs mailing list