1. 22 Mar, 2000 12 commits
    • jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR... · 124906f9
      Mon Mar 20 08:58:51 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
      	properly initialize `finished_label.' Don't emit gotos for empty
      	try statements.
      
      (Minor fix: http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00762.html)
      
      From-SVN: r32690
      Alexandre Petit-Bianco committed
    • cp-tree.h (BINFO_FOR_VBASE): Adjust documentation. · 3c9d6359
      	* cp-tree.h (BINFO_FOR_VBASE): Adjust documentation.
      	(CANONICAL_BINFO): New macro.
      	(BINFO_NEW_VTABLE_MARKED): Use it.
      	(SET_BINFO_NEW_VTABLE_MARKED): Likewise.
      	(CLEAR_BINFO_NEW_VTABLE_MARKED): Likewise.
      	* class.c (dfs_build_vbase_offset_vtbl_entries): Use BINFO_TYPE,
      	not TREE_TYPE.
      	(build_primary_vtable): Adjust usage of BINFO_NEW_VTABLE_MARKED.
      	(build_secondary_vtable): Likewise.
      	(dfs_finish_vtbls): Likewise.
      	(dfs_accumulate_vtbl_inits): Likewise.
      	(accumulate_vtbl_inits): New function.
      	(finish_vtbls): Make sure that virtual bases come after
      	non-virtual bases in the vtable group.
      	(record_base_offsets): Don't save and restore TREE_VIA_VIRTUAL.
      	(finish_struct_1): Adjust usage of BINFO_NEW_VTABLE_MARKED.
      	* search.c (struct vbase_info): Move definition.
      	(marked_new_vtable_p): Adjust usage of BINFO_NEW_VTABLE_MARKED.
      	(unmarked_new_vtable_p): Likewise.
      	(dfs_mark_vtable_path): Remove.
      	(dfs_mark_new_vtable): Remove.
      	(dfs_unmark_new_vtable): Likewise.
      	(dfs_clear_search_slot): Likewise.
      	(dfs_find_vbases):  Adjust usage of BINFO_NEW_VTABLE_MARKED.
      	(dfs_clear_vbase_slots): Likewise.
      	(init_vbase_pointers): LIkewise.
      
      From-SVN: r32689
      Mark Mitchell committed
    • iface.java: New file. · 26356fee
      	* libjava.compile/iface.java: New file.
      	* libjava.compile/static_3.java: New file.
      	* libjava.compile/static_2.java: New file.
      	* libjava.compile/static_1.xfail: New file.
      	* libjava.compile/static_1.java: New file.
      	* libjava.compile/redef6.xfail: New file.
      	* libjava.compile/redef6.java: New file.
      	* libjava.compile/redef5.xfail: New file.
      	* libjava.compile/redef5.java: New file.
      	* libjava.compile/redef4.xfail: New file.
      	* libjava.compile/redef4.java: New file.
      	* libjava.compile/redef3.xfail: New file.
      	* libjava.compile/redef3.java: New file.
      	* libjava.compile/redef2.xfail: New file.
      	* libjava.compile/redef2.java: New file.
      	* libjava.compile/redef1.xfail: New file.
      	* libjava.compile/redef1.java: New file.
      	* libjava.compile/not_a_redef.java: New file.
      	* libjava.compile/inner_1.java: New file.
      	* libjava.compile/static_init.xfail: New file.
      	* libjava.compile/static_init.java: New file.
      
      From-SVN: r32688
      Tom Tromey committed
    • New test case. · 9ffccc97
      From-SVN: r32686
      Mark Mitchell committed
    • * calls.c: re-install Mar 16 emit_library_call merge. · de76b467
      From-SVN: r32685
      Jan Hubicka committed
    • typeck.c (type_after_usual_arithmetic_conversions): Prefer a SIZETYPE to a non-SIZETYPE. · 7e9d4b22
              * typeck.c (type_after_usual_arithmetic_conversions): Prefer a
              SIZETYPE to a non-SIZETYPE.
      
      From-SVN: r32684
      Jason Merrill committed
    • Daily bump. · 89fedfc7
      From-SVN: r32683
      Jeff Law committed
    • sparc.c (mem_min_alignment): If not optimizing... · 021e2ecc
      	* config/sparc/sparc.c (mem_min_alignment): If not optimizing,
      	we cannot be sure that if reload_completed base register will
      	be properly aligned.
      
      From-SVN: r32682
      Jakub Jelinek committed
    • * flow.c (delete_block): Fix typo last change. · 1fa4609a
      From-SVN: r32681
      Richard Henderson committed
    • class.c (layout_virtual_bases): Adjust names in conditionally compiled code. · 736fb497
      	* class.c (layout_virtual_bases): Adjust names in conditionally
      	compiled code.
      
      From-SVN: r32680
      Mark Mitchell committed
    • class.c (record_base_offsets): New function. · 9785e4b1
      	* class.c (record_base_offsets): New function.
      	(layout_conflict_p): Likewise.
      	(layout_nonempty_base_or_field): Use it.
      	(layout_empty_base): New function.
      	(build_base_field): Use it.
      	(build_base_fields): Update comment.
      	(layout_virtual_bases): Fold in a little code form
      	layout_basetypes.  Use layout_empty_base.
      	(layout_basetypes): Remove.
      	(end_of_class): New function.
      	(layout_class_type): Use it.  Adjust.
      
      	* cp-tree.h (CLASSTYPE_VBASECLASSES): Fix typo in comment.
      	(fntype_p): Remove.
      	* search.c (dfs_skip_nonprimary_vbases_unmarkedp): Fix typo in
      	comment.
      	(dfs_skip_nonprimary_vbases_markedp): Likewise.
      	* typeck.c (fntype_p): Remove.
      
      From-SVN: r32679
      Mark Mitchell committed
    • cp-tree.h (TI_SPEC_INFO): Remove. · d8b64f80
      	* cp-tree.h (TI_SPEC_INFO): Remove.
      	(CLASSTYPE_TI_SPEC_INFO): Likewise.
      	* pt.c (process_partial_specialization): Likewise.
      
      From-SVN: r32678
      Mark Mitchell committed
  2. 21 Mar, 2000 18 commits
    • class.c (build_base_field): Fix thinko in computation of binfo offsets. · 217f4eb9
      	* class.c (build_base_field): Fix thinko in computation of binfo
      	offsets.
      
      From-SVN: r32677
      Mark Mitchell committed
    • Event.java: Add all the event type constants. · 604de2bd
      2000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>
      
              * java/awt/Event.java: Add all the event type constants.
              (Event): Implemented constructors.
              (controlDown): Implemented.
              (metaDown): Implemented.
              (paramString): Stubbed.
              (shiftDown): Implemented.
              (toString): Implemented.
              (translate): Implemented.
      
      From-SVN: r32676
      Bryce McKinlay committed
    • tree.c (mark_local_for_remap_p): Mark variables declared in TARGET_EXPRs as well. · ec47ccca
      	* tree.c (mark_local_for_remap_p): Mark variables declared in
      	TARGET_EXPRs as well.
      
      From-SVN: r32675
      Mark Mitchell committed
    • c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P... · b8de2d02
      	* c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
      	not COMPLETE_TYPE_P, to check the type of the expression.
      
      From-SVN: r32674
      Mark Mitchell committed
    • Another bogus case added · 485976a9
      From-SVN: r32673
      Kaveh Ghazi committed
    • Fix problems with -mno-fp-regs · 4287843d
      From-SVN: r32672
      Michael Meissner committed
    • tree.h (COMPLETE_TYPE_P): New macro. · d0f062fb
      gcc
      	* tree.h (COMPLETE_TYPE_P): New macro.
      	(COMPLETE_OR_VOID_TYPE_P): New macro.
      	(COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
      	* stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
      	* c-aux-info.c (gen_type): Use them.
      	* c-common.c (c_expand_expr_stmt): Likewise.
      	* c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
      	grokdeclarator, grokparms, finish_struct, start_function,
      	store_parm_decls, combine_parm_decls): Likewise.
      	* c-parse.y (cast_expr): Likewise.
      	* c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
      	c_size_in_bytes, c_alignof, build_component_ref,
      	build_indirect_ref, build_array_ref, convert_arguments,
      	build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
      	* calls.c (initialize_argument_information): Likewise.
      	* convert.c (convert_to_integer): Likewise.
      	* dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
      	* dwarfout.c (location_or_const_value_attribute,
      	output_enumeration_type_die, output_structure_type_die,
      	output_union_type_die, output_type): Likewise.
      	* expr.c (safe_from_p, expand_expr): Likewise.
      	* function.c (assign_parms): Likewise.
      	* sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
      	* tree.c (build_array_type, build_function_type,
      	build_method_type, build_offset_type, build_complex_type): Likewise.
      	* c-parse.c, c-parse.h: Regenerated.
      gcc/cp
      	* typeck.c (require_complete_type, complete_type,
      	complete_type_or_else, c_sizeof, c_sizeof_nowarn,
      	build_array_ref, convert_arguments, pointer_diff,
      	build_x_unary_op, build_unary_op, build_c_cast,
      	build_modify_expr): Use COMPLETE_TYPE_P etc.
      	* call.c (is_complete, convert_like_real,
      	build_new_method_call): Likewise.
      	* class.c (build_vbase_pointer_fields, check_bases,
      	build_base_field, finish_struct_1, pushclass): Likewise.
      	* cvt.c (cp_convert_to_pointer, convert_to_void): Likewise.
      	* decl.c (maybe_process_template_type_declaration, pushtag,
      	pushdecl, redeclaration_error_message, start_decl, start_decl_1,
      	layout_var_decl, check_initializer, cp_finish_decl,
      	grokdeclarator, require_complete_types_for_parms,
      	grok_op_properties, xref_tag, xref_basetypes,
      	check_function_type): Likewise.
      	* decl2.c (check_classfn, reparse_absdcl_as_casts): Likewise.
      	* friend.c (do_friend): Likewise.
      	* init.c (build_offset_ref): Likewise.
      	* parse.y (structsp): Likewise.
      	* pt.c (maybe_process_partial_specialization,
      	tsubst_friend_function, instantiate_class_template, tsubst,
      	do_type_instantiation, instantiate_pending_templates): Likewise.
      	* repo.c (repo_get_id): Likewise.
      	* rtti.c (build_typeid, get_typeid, build_dynamic_cast_1,
      	synthesize_tinfo_var, emit_support_tinfos): Likewise.
      	* search.c (lookup_fnfields_1, lookup_conversions): Likewise.
      	* semantics.c (begin_class_definition): Likewise.
      	* tree.c (build_cplus_method_type): Likewise.
      	* typeck2.c (digest_init, build_functional_cast,
      	add_exception_specifier): Likewise.
      	* parse.h, parse.c: Regenerated.
      
      From-SVN: r32671
      Nathan Sidwell committed
    • cxxabi.h: New header file. · 2854d3c6
      	* inc/cxxabi.h: New header file. Define new-abi entry points.
      	(__pointer_type_info::target): Rename member to ...
      	(__pointer_type_info::type): ... here.
      	(__base_class_info::type): Rename member to ...
      	(__base_class_info::base): ... here.
      	* Make-lang.in (CXX_EXTRA_HEADERS): Add cxxabi.h
      	* cp-tree.h (CPTI_ABI): New global tree enumeration.
      	(abi_node): New global tree node.
      	* decl.c (abi_node): Document.
      	(init_decl_processing): Initialize abi_node.
      	* rtti.c (build_dynamic_cast_1): Use abi_node for new-abi.
      	(get_vmi_pseudo_type_info): Likewise.
      	(create_tinfo_types): Likewise.
      	(emit_support_tinfos): Likewise.
      	* tinfo.h (cxxabi.h): Include for new-abi.
      	Move rtti class definitions to new header file.
      	* tinfo.cc (abi): Use the namespace.
      	(std): Move new abi rtti classes from here ...
      	(__cxxabiv1): ... to here.
      	* tinfo2.cc (cxxabi.h): Include for new-abi.
      	Move rtti class definitions to new header file.
      	(std): Move new abi rtti classes from here ...
      	(__cxxabiv1): ... to here.
      	* inc/typeinfo (__class_type_info): Move into __cxxabiv1
      	namespace.
      
      From-SVN: r32669
      Nathan Sidwell committed
    • Daily bump. · b8731430
      From-SVN: r32668
      Jeff Law committed
    • * config/c4x/rtems.h: Include config/rtems.h. · 7d6e6314
      From-SVN: r32667
      Michael Hayes committed
    • avr.c (encode_section_info): sets SYMBOL_REF_FLAG if decl is a FUNCTION_DECL · 8053f393
              * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
              decl is a FUNCTION_DECL
      
      From-SVN: r32666
      Denis Chertykov committed
    • natClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom(). · afccdd1d
              * java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(),
              not Class.isAssignableFrom().
      
      From-SVN: r32664
      Bryce McKinlay committed
    • natClass.cc (isInstance): Initialize `this'. · a162f9d8
      2000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>
      
              * java/lang/natClass.cc (isInstance): Initialize `this'.
              (isAssignableFrom): Initialize `this' and `klass'.
              (_Jv_IsAssignableFrom): If an interface has no idt, it is not
              implemented by any loaded class, so return false.
      
      From-SVN: r32663
      Bryce McKinlay committed
    • Test case for PR libgcj/179: · 2ca2f317
      2000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>
      
              Test case for PR libgcj/179:
              * libjava.lang/pr179.java: New file.
              * libjava.lang/pr179.out: New file.
      
      From-SVN: r32662
      Bryce McKinlay committed
    • Minor performance improvements. Minor EH/unwind bug fix. · 1ff5b671
      	* config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
      	function uses output registers.  Don't save RP for leaf functions.
      	Do save RP even if no epilogue.
      	* config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
      	(CALL_USED_REGISTERS): Unmark in registers.
      	(REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
      	to near the middle.
      
      From-SVN: r32661
      Jim Wilson committed
    • * Makefile.in: Hand edit for java_raw_api.lo. · c1f63902
      From-SVN: r32660
      Tom Tromey committed
  3. 20 Mar, 2000 10 commits