OSDN Git Service

* objc-act.c (synth_module_prologue): Use build_function_type_list
[pf3gnuchains/gcc-fork.git] / gcc / objc / ChangeLog
index 55065e3..40b9780 100644 (file)
@@ -1,3 +1,137 @@
+2010-05-30  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * objc-act.c (synth_module_prologue): Use build_function_type_list
+       instead of build_function_type.
+       (build_module_initializer_routine): Likewise.
+       (build_next_objc_exception_stuff): Likewise.
+       (build_objc_exception_stuff): Likewise.
+
+2010-05-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * objc-act.c: Include diagnostic-core.h instead of diagnostic.h.
+       * Make-lang.in (objc/objc-act.o): Update dependencies.
+
+2010-05-25  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * objc-act.h: Do not include gimple.h.
+       * objc-act.c: Do not include rtl.h, expr.h, libfuncs.h, and tm_p.h.
+       Include gimple.h.  Explain why except.h has to be included.
+       * objc-lang.c: Do not include diagnostics.h.
+       * Make-lang.in: Update dependencies.
+
+2010-05-25  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * objc-act.c (objc_build_constructor): Adjust OBJCPLUS impedance
+       mismatch code for VECs.
+
+2010-05-25  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * objc-act.c (objc_build_constructor): Take a VEC instead of a tree.
+       Use build_constructor instead of build_constructor_from_list.
+       (objc_build_string_object): Build a VEC argument for
+       objc_build_constructor.
+       (init_def_list): Likewise.
+       (init_objc_symtab): Likewise.
+       (init_module_descriptor): Likewise.
+       (generate_static_references): Likewise.
+       (build_selector_translation_table): Likewise.
+       (build_descriptor_table_initializer): Likewise.
+       (generate_descriptor_table): Likewise.
+       (build_protocol_initializer): Likewise.
+       (build_ivar_list_initializer): Likewise.
+       (generate_ivars_list): Likewise.
+       (build_dispatch_table_initializer): Likewise.
+       (generate_dispatch_table): Likewise.
+       (generate_protocol_list): Likewise.
+       (build_category_initializer): Likewise.
+       (build_shared_structure_initializer): Likewise.
+       (generate_objc_image_info): Likewise.
+
+2010-04-30  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR objc++/32052
+       * objc-act.c (encode_aggregate_within): Encode structure tags
+       with template args for ObjC++.
+
+2010-04-30  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * objc-act.c: Do not include varray.h.
+
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/18624
+       * objc-act.c (finish_var_decl, objc_begin_catch_clause,
+       really_start_method, get_super_receiver, handle_class_ref): Set
+       DECL_READ_P in addition to TREE_USED.
+
+2010-04-07  Iain Sandoe <iains@gcc.gnu.org>
+
+       PR objc/35996
+       * objc-act.c (objc_init): Warn that -fobjc-gc is ignored for
+       -fgnu-runtime and set flag_objc_gc to zero.
+
+2010-04-07  Iain Sandoe <iains@gcc.gnu.org>
+
+       PR objc++/23716
+       * objc-act.c (build_module_initializer_routine): Make the argument
+       to objc_start_function NULL_TREE when compiling ObjC++.
+
+2010-02-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
+           Mike Stump  <mikestump@comcast.net>
+
+       PR objc/43061
+       * objc-act.c (finish_var_decl): Set the generated symbols as "used".
+
+2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>
+
+       * objc-act.c (objc_substitute_decl, build_ivar_reference,
+       get_super_receiver): Update build_indirect_ref calls.
+
+2009-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * objc-act.c (generate_shared_structures): Remove unused sc_spec and
+       decl_specs variables.
+       (objc_build_message_expr): Remove unused loc variable.
+       (objc_finish_message_expr): Remove unused saved_rtype variable.
+       (encode_field_decl): Remove unused type variable.
+
+       PR obj-c++/42156
+       * objc-act.c (objc_build_struct): INIT_TYPE_OBJC_INFO for
+       type variants that don't have it initialized yet.
+
+2009-09-14  Jan Hubicka  <jh@suse.cz>
+
+       * objc-act.c (objc_add_static_instance): Do not set DECL_COMMON.
+
+2009-09-14  Richard Henderson  <rth@redhat.com>
+
+       * objc-act.c (objc_init_exceptions): Don't call
+       default_init_unwind_resume_libfunc.
+       (objc_build_exc_ptr): Use __builtin_eh_pointer.
+
+2009-09-13  Richard Guenther  <rguenther@suse.de>
+       Rafael Avila de Espindola  <espindola@google.com>
+
+       * objc-act.c (objc_eh_runtime_type): Export.
+       (objc_init_exceptions): Remove.  Move warning code ...
+       (objc_begin_try_stmt): ... here
+       (objc_build_throw_stmt): ... and here.
+       (objc_eh_personality_decl): New.
+       (objc_eh_personality): New function.
+       * objc-act.h (objc_eh_runtime_type): Declare.
+       (objc_eh_personality): Likewise.
+       * objc-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define.
+       (LANG_HOOKS_EH_PERSONALITY): Likewise.
+
+2009-09-03  Diego Novillo  <dnovillo@google.com>
+
+       * objc-lang.c (lang_hooks): Remove const qualifier.
+
+2009-08-20  Richard Guenther  <rguenther@suse.de>
+
+       * objc-act.c: Include c-lang.h
+       * Make-lang.in (objc/objc-act.o): Add c-lang.h dependency.
+
 2009-07-17  Aldy Hernandez  <aldyh@redhat.com>
            Manuel López-Ibáñez  <manu@gcc.gnu.org>