1. 28 Apr, 2000 4 commits
    • gcc_update: Refer to GCC and gcc_update instead of egcs and egcs_update. · b9550bfb
              * gcc_update: Refer to GCC and gcc_update instead of egcs and
              egcs_update.
      
      From-SVN: r33497
      Gerald Pfeifer committed
    • Makefile.in (OBJS): Add timevar.o. · 2a9a326b
      hangeLog:
      
      	* Makefile.in (OBJS): Add timevar.o.
      	(toplev.o): Depend on timevar.h.
      	(ggc-simple.o): Likewise.
      	(ggc-page.o): Likewise.
      	(timevar.o): New rule.
      	(timevar.h): New rule.
      
      	* timevar.h: New file.
      	* timevar.c: Likewise.
      	* timevar.def: Likewise.
      
      	* toplev.h (gc_time, parse_time, varconst_time): Remove.
      	* toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
      	throughout.
      	(TIMEVAR): Remove macro.
      	(gc_time, parse_time, varconst_time, integration_time, jump_time,
      	cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
      	flow_time, combine_time, regmove_time, sched_time,
      	local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
      	sched2_time, dbr_sched_time, reorder_blocks_time,
      	rename_registers_time, shorten_branch_time, stack_reg_time,
      	to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
      	all_time): Remove.
      	(compile_file): Don't initialize time variables.  Call
      	init_timevar and start TV_TOTAL timer.  Call timevar_print instead
      	of many calls to print_time.
      	(rest_of_compilation): Add timing for reload_cse_regs.
      	(get_run_time): Removed to timevar.c.
      	(print_time): Likewise.
      	(get_run_time): Implement using TV_TOTAL time variable.
      	(print_time): Get total run time from get_run_time.
      	* ggc-page.c (ggc_collect): Push and pop TV_GC instead of
      	computing elapsed time explicitly.
      	* ggc-simple.c (ggc_collect): Likewise.
      	(gc_time): Remove declaration.
      
      
      cp/ChangeLog:
      
      	* lex.c (my_get_run_time): Remove.
      	(init_filename_times): Use get_run_time instead of my_get_run_time.
      	(check_newline): Likewise.
      	(dump_time_statistics): Likewise.
      	* decl2.c (finish_file): Push and pop timevar TV_VARCONST instead
      	of computing elapsed time explicitly.
      
      From-SVN: r33496
      Alex Samuel committed
    • re GNATS gcj/2 (Method call on null instance should throw NullPointerException) · e815887f
      	Fix for PR gcj/2:
      	* expr.c (expand_invoke): Generate check to see if object pointer
      	is null in nonvirtual invocation case.
      	* java-tree.h (soft_nullpointer_node): Declare.
      	* decl.c (soft_nullpointer_node): New global.
      	(init_decl_processing): Initialize soft_nullpointer_node.
      	* parse.y (invocation_mode): Return INVOKE_NONVIRTUAL for `final'
      	or `private' methods.
      	(patch_invoke): Handle INVOKE_NONVIRTUAL case.
      
      From-SVN: r33495
      Tom Tromey committed
  2. 27 Apr, 2000 36 commits