1. 17 Jan, 2000 11 commits
    • reload.c: PROTO -> PARAMS. · cdadb1dd
              * reload.c: PROTO -> PARAMS.
              * reload.h: Likewise.
              * reload1.c: Likewise.
              * reorg.c: Likewise.
              * resource.h: Likewise.
              * rtl.c: Likewise.
              * rtl.h: Likewise.
              * rtlanal.c: Likewise.
              * sbitmap.h: Likewise.
              * sdbout.c: Likewise.
              * stack.h: Likewise.
              * stmt.c: Likewise.
              * system.h: Likewise.
      
      From-SVN: r31461
      Kaveh R. Ghazi committed
    • natThrowable.cc: New file. · 283a159f
      2000-01-14  Andrew Haley  <aph@cygnus.com>
      
      	* java/lang/natThrowable.cc: New file.
      
      	* java/lang/Throwable.java (fillInStackTrace): Make native.
      	(printStackTrace): Call native method to do this.
      	(Throwable): Call fillInStackTrace.
      	(stackTrace): New variable.
      
      	* include/jvm.h: Add _Jv_ThisExecutable functions.
      
      	* prims.cc: (_Jv_execName): New variable.
      	(catch_segv): Call fillInStackTrace.
      	(catch_fpe): Ditto.
      	(_Jv_ThisExecutable): New functions.
      	(JvRunMain): Set the name of this executable.
      
      	* Makefile.am: Add java/lang/natThrowable.cc.
      	Add name-finder.cc.
      	* Makefile.in: Rebuilt.
      
      	* acconfig.h: Add HAVE_PROC_SELF_EXE.
      
      	* configure.in: Force link with __frame_state_for in
      	FORCELIBGCCSPEC.  Add new checks for backtrace.
      	* include/config.h.in: Rebuilt.
      
      	* name-finder.cc: New file.
      	* include/name-finder.h: New file.
      
      From-SVN: r31460
      Andrew Haley committed
    • machmode.h: PROTO -> PARAMS. · 13536812
              * machmode.h: PROTO -> PARAMS.
              * mbchar.h: Likewise.
              * mips-tdump.c: Likewise.
              * mips-tfile.c: Likewise.
              * optabs.c: Likewise.
              * output.h: Likewise.
              * prefix.c: Likewise.
              * profile.c: Likewise.
              * protoize.c: Likewise.
              * real.h: Likewise.
              * recog.c: Likewise.
              * recog.h: Likewise.
              * regclass.c: Likewise.
              * regmove.c: Likewise.
              * regs.h: Likewise.
      
      From-SVN: r31459
      Kaveh R. Ghazi committed
    • ggc-common.c: PROTO -> PARAMS. · 3fe41456
              * ggc-common.c: PROTO -> PARAMS.
              * ggc-page.c: Likewise.
              * ggc-simple.c: Likewise.
              * ggc.h: Likewise.
              * global.c: Likewise.
              * graph.c: Likewise.
              * gthr-win32.h: Likewise.
              * haifa-sched.c: Likewise.
              * halfpic.h: Likewise.
              * integrate.c: Likewise.
              * integrate.h: Likewise.
              * jump.c: Likewise.
              * lcm.c: Likewise.
              * local-alloc.c: Likewise.
              * loop.c: Likewise.
              * loop.h: Likewise.
      
      From-SVN: r31458
      Kaveh R. Ghazi committed
    • genattr.c: PROTO -> PARAMS. · a94ae8f5
              * genattr.c: PROTO -> PARAMS.
              * genattrtab.c: Likewise.
              * gencheck.c: Likewise.
              * gencodes.c: Likewise.
              * genconfig.c: Likewise.
              * genemit.c: Likewise.
              * genextract.c: Likewise.
              * genflags.c: Likewise.
              * gengenrtl.c: Likewise.
              * genopinit.c: Likewise.
              * genoutput.c: Likewise.
              * genpeep.c: Likewise.
              * genrecog.c: Likewise.
      
      From-SVN: r31457
      Kaveh R. Ghazi committed
    • * All files: PROTO -> PARAMS. · 3b0d91ff
      From-SVN: r31456
      Kaveh R. Ghazi committed
    • Daily bump. · 97715246
      From-SVN: r31455
      Jeff Law committed
    • class.c (finish_struct_1): Replace redundant code with assertions. · 1eb4bea9
      	* class.c (finish_struct_1): Replace redundant code with
      	assertions.
      
      From-SVN: r31454
      Mark Mitchell committed
    • * tree.h (BINFO_VPTR_FIELD): Augment documentation. · 39ac3e4f
      From-SVN: r31453
      Mark Mitchell committed
    • cp-tree.h (flag_new_abi): Move. · bbd15aac
      	* cp-tree.h (flag_new_abi): Move.
      	(flag_use_cxa_atexit): Likewise.
      	(flag_honor_std): Likewise.
      	(flag_rtti): Likewise.
      	(vbase_offsets_in_vtable_p): Define.
      	(vptrs_present_everywhere_p): Likewise.
      	(TYPE_CONTAINS_VPTR_P): Likewise.
      	(dfs_walk_real): Declare.
      	* class.c (build_vbase_pointer_fields): Check
      	vbase_offsets_in_vtable_p.
      	(dfs_build_vbase_offset_vtbl_entries): Record the vbase indices in
      	BINFO_VPTR_FIELD.
      	(build_vbase_offset_vtbl_entries): Simplify.
      	(build_vbase_offset_vtbl_entries): Adjust.
      	(build_vbase_pointer): Add ability to look up vbase offsets in
      	vtable.
      	(start_vtable): New function.
      	(add_virtual_function): Use it.
      	(determine_primary_base): Use TYPE_CONTAINS_VPTR_P.
      	(num_extra_vtbl_entries): Use vbase_offsets_in_vtable_p.
      	(build_vtbl_initializer): Take the type of the complete object as
      	input.  Use it to correctly calculate vbase offsets.
      	(dfs_finish_vtbls): Pass the complete type to
      	build_vtbl_initializer.
      	(check_bases_and_members): Use TYPE_CONTAINS_VPTR_P.
      	(create_vtable_ptr): Create a vtable even if there are no
      	new virtual functions, under the new ABI.
      	(finish_struct_1): Likewise.
      	(get_vfield_name): Use TYPE_CONTAINS_VPTR_P.
      	* decl.c (exapnd_static_init): Remove call to
      	preserve_initializer.
      	* decl2.c (mark_vtable_entries): Tweak to handle vbase offsets in
      	vtables.
      	* init.c (initialize_vtbl_ptrs): Initialize them in pre-order.
      	(expand_virtual_init): Use vbase_offsets_in_vtable_p.
      	(construct_virtual_bases): Don't initialize virtual base pointers
      	under the new ABI.
      	(build_aggr_init): Clean up comment.
      	(expand_aggr_init_1): Likewise.
      	* rtti.c (expand_class_desc): Store the virtual function table
      	index where the vbase offset lives in the offset field.
      	* search.c (dfs_walk_real): Make it global.
      	(dfs_debug_mark): Use TYPE_CONTAINS_VPTR_P.
      	* tree.c (make_binfo): Don't clear BINFO_VPTR_FIELD.
      
      	* tinfo.h (USItype): Make it signed under the new ABI.
      	* tinfo.cc (convert_to_base): New function.  Encapsulate base
      	conversion logic here.
      	(__class_type_info::do_upcast): Use it.
      	(__class_type_info::do_dyncast): Likewise.
      	(__class_type_info::do_find_public_subobj): Likewise.
      
      From-SVN: r31452
      Mark Mitchell committed
    • StringBuffer.java (StringBuffer): Don't special case null argument. · 2a198bc4
      2000-01-16  Anthony Green  <green@cygnus.com>
      
      	* java/lang/StringBuffer.java (StringBuffer): Don't special case
      	null argument.
      
      From-SVN: r31451
      Anthony Green committed
  2. 16 Jan, 2000 13 commits
  3. 15 Jan, 2000 5 commits
    • gcse.c (insert_insn_end_bb): Use emit_block_insn_before instead of emit_insn_before. · b5229628
      	* gcse.c (insert_insn_end_bb): Use emit_block_insn_before
      	instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
      	when walking backwards to find all the parameter loads when
      	the basic block ends in a call.
      
      From-SVN: r31437
      John Wehle committed
    • Daily bump. · 8430ac57
      From-SVN: r31436
      Jeff Law committed
    • optimize.c (copy_body_r): Clear the operand three of a TARGET_EXPR when copying it. · ef97bf6b
      	* optimize.c (copy_body_r): Clear the operand three of a
      	TARGET_EXPR when copying it.
      
      From-SVN: r31435
      Mark Mitchell committed
    • loop.c (this_loop_info): Delete. · a2be868f
      	* loop.c (this_loop_info): Delete.
      	(uid_loop): Add in place of uid_loop_num.  All uses updated.
       	(loop_number_exit_count): Delete and replace with entry in loop
      	structure.  All uses updated.
      	(loop_number_loop_starts, loop_number_loop_ends): Likewise.
      	(loop_number_loop_cont, loop_number_cont_dominator): Likewise.
      	(loop_outer_loop): Likewise.
      	(loop_invalid, loop_number_exit_labels): Likewise.
      	(loop_used_count_register): Delete and replace with entry in
      	loop_info structure.
      	(find_and_verify_loops): Add loops argument.
      	(verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
      	loop_end, etc. arguments with loop structure pointer.  All callers
      	changed.
      	(loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
      	(check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
      	(load_mems_and_recount_loop_regs_set, load_mems): Likewise.
      	(insert_bct): Likewise.
      	(basic_induction_var): New argument level.
      	* loop.h (struct loop_info): Delete fields num, loops_enclosed,
      	vtop, and cont.  Add used_count_register.
      	(uid_loop): Delete declaration.
       	(loop_number_exit_count): Likewise.
      	(loop_number_loop_starts, loop_number_loop_ends): Likewise.
      	(loop_number_loop_cont, loop_number_cont_dominator): Likewise.
      	(loop_outer_loop, loop_used_count_register): Likewise.
      	(loop_invalid, loop_number_exit_labels): Likewise.
      	(unroll_loop): Replace loop_start and loop_end arguments
       	with loop structure pointer.
      	(loop_precondition_p, loop_iterations): Likewise.
      	Include basic-block.h.
      	* unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
       	with loop structure pointer.
      	(loop_precondition_p, loop_iterations): Likewise.
      	* basic-block.h (struct loop): New entries vtop, cont,
       	cont_dominator, start, end, top, scan_start, exit_labels,
      	exit_count.
      	* Makefile.in (LOOP_H): Add basic-block.h to dependencies.
      
      From-SVN: r31434
      Michael Hayes committed
    • * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT. · d07ecc3b
      From-SVN: r31433
      Gerald Pfeifer committed
  4. 14 Jan, 2000 11 commits