- 12 Apr, 2000 39 commits
-
-
* java/lang/natString.cc (intern): Temporarily disable finalizer registration. From-SVN: r33127
Tom Tromey committed -
From-SVN: r33126
Hans-Peter Nilsson committed -
reorg.c (fill_slots_from_thread): Check side_effects_p when trying the "opposite arithmetic" approach. * reorg.c (fill_slots_from_thread): Check side_effects_p when trying the "opposite arithmetic" approach. From-SVN: r33125
Hans-Peter Nilsson committed -
* java/lang/natString.cc (unintern): Added `obj' argument. (intern): Register finalizer for string. * java/lang/String.java (unintern): Now static; added obj argument. From-SVN: r33124
Tom Tromey committed -
* sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI. (struct sh_args): Add new field force_mem. (INIT_CUMULATIVE_ARGS): Initialize it. (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it. From-SVN: r33123
J"orn Rennecke committed -
From-SVN: r33121
Jeffrey A Law committed -
From-SVN: r33120
Jeffrey A Law committed -
From-SVN: r33119
Jeffrey A Law committed -
From-SVN: r33118
Jeffrey A Law committed -
From-SVN: r33117
Jeffrey A Law committed -
From-SVN: r33116
Jeffrey A Law committed -
From-SVN: r33115
Jeffrey A Law committed -
From-SVN: r33114
Mark Mitchell committed -
From-SVN: r33113
Mark Mitchell committed -
From-SVN: r33111
Jakub Jelinek committed -
encoding.c (objc_layout_structure_next_member): Do the whole procedure even for the first member, so that we get correct alignment. * encoding.c (objc_layout_structure_next_member): Do the whole procedure even for the first member, so that we get correct alignment. From-SVN: r33110
Jakub Jelinek committed -
(emit_library_call_value_1): Emit_libcall_block for const and pure function. From-SVN: r33109
Jan Hubicka committed -
reload1.c (reload_combine): Don't enable optimization for fixed registers when encountering a BARRIER. * reload1.c (reload_combine): Don't enable optimization for fixed registers when encountering a BARRIER. From-SVN: r33108
J"orn Rennecke committed -
builtins.c (expand_builtin_memcmp): Do expansion even with !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails. * builtins.c (expand_builtin_memcmp): Do expansion even with !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails. From-SVN: r33107
Jan Hubicka committed -
* calls.c (expand_call): Do NO_DEFER_POP unconditionally once stack is propertly aligned; add sanity checking for aligned stack pointer. (expand_library_call_value_1): Add sanity checking for aligned stack pointer. From-SVN: r33106
Jan Hubicka committed -
calls.c (emit_library_call_value_1): Change 3rd arg to locate_and_pad_parm to disregard the setting of partial. Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com> * calls.c (emit_library_call_value_1): Change 3rd arg to locate_and_pad_parm to disregard the setting of partial. From-SVN: r33105
Catherine Moore committed -
From-SVN: r33104
Richard Kenner committed -
* print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the CALL_INSN from the normal case. From-SVN: r33103
Richard Kenner committed -
From-SVN: r33102
Richard Kenner committed -
From-SVN: r33101
Richard Kenner committed -
* i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8): New global variables. (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the adjustment. * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8): Declare, (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4, TARGET_ADD_ESP_8): New macros. * i386.md: Add peep2s to convert esp adjustments to push and pop instructions. (pushsi_prologue, popsi_epilogue): New patterns. From-SVN: r33100
Jan Hubicka committed -
From-SVN: r33099
Jakub Jelinek committed -
From-SVN: r33098
Zack Weinberg committed -
* real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment. * real.c (toe64): Revert previous change. From-SVN: r33097
Stephen L Moshier committed -
* cp-tree.h (IDENTIFIER_CTOR_OR_DTOR_P): New macro. (cp_tree_index): Add CPTI_PUSH_EXCEPTION_IDENTIFIER. (cp_push_exception_identifier): New macro. (DECL_COMPLETE_DESTRUCTOR_P): New macro. (DECL_BASE_DESTRUCTOR_P): Likewise. (DECL_DELETING_DESTRUCTOR_P): Likewise. (get_vtbl_decl_for_binfo): Fix formatting. (in_charge_arg_for_name): New macro. (maybe_build_cleanup_and_delete): Remove declaration. * call.c (build_field_call): Use IDENTIFIER_CTOR_OR_DTOR_P. (in_charge_arg_for_name): New function. (build_new_method_call): Use it. Handle cloned destructors. (build_clone): Don't make the base constructor virtual. Automatically defer generated functions. (clone_function_decl): Handle destructors, too. (clone_constructors_and_destructors): Likewise. (create_vtable_ptr): Don't create a vtable entry for a cloned function. * decl.c (predefined_identifier): Add ctor_or_dtor_p. (initialize_predefined_identifiers): Update appropriately. (finish_destructor_body): Simplify. (maybe_build_cleanup_and_delete): Remove. * except.c (expand_throw): Handle new-ABI destructors. * init.c (expand_cleanup_for_base): Use base_dtor_identifier. (build_dtor_call): New function. (build_delete): Use it. Simplify. * optimize.c (maybe_clone_body): Handle destructors. * search.c (lookup_field_queue_p): Use IDENTIFIER_CTOR_OR_DTOR_P. From-SVN: r33096
Mark Mitchell committed -
From-SVN: r33095
Jeff Law committed -
From-SVN: r33094
Richard Henderson committed -
From-SVN: r33093
Richard Henderson committed -
* objc/objc-act.c: Include ggc.h. (objc_tree_index, objc_global_trees): Convert most of the static tree variables into a static array with previous names as defines. (objc_ellipsis_node): New variable. (lang_init): Call objc_act_parse_init and c_parse_init. Create objc_ellipsis_node. (build_selector_translation_table): Use objc_ellipsis_node instead of (tree)1. (hack_method_prototype): Likewise. (get_arg_type_list): Likewise. (start_method_def): Likewise. (continue_method_def): Likewise. (gen_method_decl): Likewise. (ggc_mark_imp_list): New function. (ggc_mark_hash_table): New function. (objc_act_parse_init): New function. * objc/objc-act.h (objc_ellipsis_node): Add extern variable. * c-parse.in (c_parse_init): For objc add roots of objc specific local tree variables. * objc/objc-parse.y: Rebuilt. * objc/objc-parse.c: Rebuilt. (opt_parm_list): Use objc_ellipsis_node instead of (tree)1. * Object.m (strlen): Provide prototype on all 64bit platforms, not only alpha. * sarray.c (memcpy): Likewise. * encoding.c (objc_layout_finish_structure): Don't use ROUND_TYPE_ALIGN on sparc. From-SVN: r33092
Jakub Jelinek committed -
cse.c (delete_trivially_dead_insns): Also delete insns that copy a register to itself where the destination is a... * cse.c (delete_trivially_dead_insns): Also delete insns that copy a register to itself where the destination is a strict_low_part. From-SVN: r33090
John Wehle committed -
* flow.c (struct propagate_block_info): Add new_dead, new_live. (propagate_block): Initialize them. Use them in parallel instead of one tmp variable, ie revert much of the 0408 and 0407 functional changes, but keep the structural changes. (mark_set_regs): Take new_dead from propagate_block_info instead. (mark_set_1, mark_set_reg): Likewise. (mark_used_regs): Likewise with new_live. (mark_used_reg): Likewise. Revert 0408 change. From-SVN: r33089
Richard Henderson committed -
From-SVN: r33088
Alexandre Oliva committed -
From-SVN: r33086
Nick Clifton committed -
elfos.h (SELECT_SECTION): Decide whether to use a data or const section to output a CONSTRUCTOR based on... * config/elfos.h (SELECT_SECTION): Decide whether to use a data or const section to output a CONSTRUCTOR based on the same conditions used for VAR_DECLs. From-SVN: r33085
Alexandre Oliva committed
-
- 11 Apr, 2000 1 commit
-
-
* cp-tree.h (cp_tree_index): Add CPTI_DTOR_IDENTIFIER. (complete_dtor_identifier): New macro. (CLASSTYPE_FIRST_CONVERSION): Remove. (CLASSTYPE_CONSTRUCTOR_SLOT): New macro. (CLASSTYPE_DESTRUCTOR_SLOT): Likewise. (CLASSTYPE_FIRST_CONVERSION_SLOT): Likewise. (CLASSTYPE_CONSTRUCTORS): Likewise. (CLASSTYPE_DESTRUCTORS): Likewise. (lang_decl): Add cloned_function. (DECL_COMPLETE_CONSTRUCTOR_P): New macro. (DECL_BASE_CONSTRUCTOR_P): Likewise. (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P): Likewise. (DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P): Likewise. (DECL_CLONED_FUNCTION_P): Likewise. (DECL_CLONED_FUNCTION): Likewise. (clone_function_decl): Declare. (maybe_clone_body): Likewise. * call.c (build_user_type_conversion_1): Call complete object constructors in the new ABI. (build_new_method_call): Don't add in-charge parameters under the new ABI. * class.c (add_method): Use DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P, DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P, CLASSTYPE_CONSTRUCTOR_SLOT, and CLASSTYPE_DESTRUCTOR_SLOT. (build_clone): New function. (clone_function_decl): Likewise. (clone_constructors_and_destructors): Likewise. (check_bases_and_members): Use it. * decl.c (iniitialize_predefined_identifiers): Initialize complete_dtor_identifier. (finish_function): Don't add extra code to a clone. (lang_mark_tree): Mark cloned_function. * decl2.c (mark_used): Don't bother trying to instantiate things we synthesized. * dump.c (dequeue_and_dump): Don't dump CP_DECL_CONTEXT twice. * method.c (set_mangled_name_for_decl): Don't treat clones as constructors. (synthesize_method): Sythesize cloned functions, not the clones. * optimize.c (inline_data): Update comment on ret_label. (remap_block): Don't assume DECL_INITIAL exists. (copy_body_r): Allow ret_label to be NULL. (maybe_clone_body): Define. * pt.c (tsubst_decl): Handle clones. (instantiate_clone): New function. (instantiate_template): Use it. (set_mangled_name_for_template_decl): Don't treat clones as constructors. * search.c (lookup_fnfields_1): Use CLASSTYPE_CONSTRUCTOR_SLOT, CLASSTYPE_DESTRUCTOR_SLOT, and CLASSTYPE_FIRST_CONVERSION_SLOT. * semantics.c (expand_body): Clone function bodies as necessary. From-SVN: r33084
Mark Mitchell committed
-