1. 28 Apr, 2000 17 commits
    • re GNATS gcj/218 (Java executables can abort trying to access a null pointer in a leaf function) · f9f70f2d
      	* libgcj.spec.in (*jc1): Added -fasynchronous-exceptions.
      	Fix for PR gcj/218.
      
      From-SVN: r33511
      Tom Tromey committed
    • * timevar.c (init_timevar): DeANSIfy function definition. · 4fbe8d07
      From-SVN: r33509
      Kaveh R. Ghazi committed
    • String.java (toString): Remove `final' hack. · 065ccab3
      2000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* libjava/java/lang/String.java (toString): Remove `final' hack.
      
      From-SVN: r33508
      Bryce McKinlay committed
    • Daily bump. · 2a96658a
      From-SVN: r33507
      Jeff Law committed
    • Test for PR gcj/218: · ceed610d
      2000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	Test for PR gcj/218:
      	* libjava.lang/PR218.java: New file.
      	* libjava.lang/PR218.out: New file.
      
      From-SVN: r33506
      Bryce McKinlay committed
    • optimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying variables. · 27c58e25
      	* optimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying
      	variables.
      	(initialize_inlined_parameters): Try to avoid creating new
      	VAR_DECLs.
      
      From-SVN: r33505
      Mark Mitchell committed
    • Makefile.in (timevar.o): Depend on flags.h. · 26026d38
      	* Makefile.in (timevar.o): Depend on flags.h.
      	* timevar.c (unused_stack_instances): New variable.
      	(timevar_push): Take a timevar_stack_def from
      	unused_stack_instances if available.
      	(timevar_pop): Push the popped timevar_stack_def onto
      	unused_stack_instances.
      	(TIMEVAR_ENABLE): New macro.
      	(timevar_def): Make standalone a 1-bit field.  Add field used.
      	(get_time): Rename parameter to now.  Return after clearing it if
      	not TIMEVAR_ENABLE.
      	(init_timevar): Do nothing if not TIMEVAR_ENABLE.
      	(timevar_pop): Likewise.
      	(timevar_stop): Likewise.
      	(timevar_push): Likewise.  Mark the timing variable as used.
      	(timevar_start): Likewise.
      	(timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
      	timevars that were never used.
      
      From-SVN: r33504
      Alex Samuel committed
    • basic_string.h: include <bits/atomicity.h> instead of <atomicity.h>, and use the uglified names. · 5db2c9b8
      
      2000-04-26  Nathan C. Myers  <ncm@cantrip.org>
      
      	* bits/basic_string.h: include <bits/atomicity.h> instead
              of <atomicity.h>, and use the uglified names.
              * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
              uglify names, eliminate dependence on <inttypes.h>.
              * src/Makefile.in, src/Makefile.am: refer to correct place
              for atomicity.h header.
      
      From-SVN: r33503
      Nathan C. Myers committed
    • misc-inst.cc: Explicitly instantiate ifstream and ofstream classes. · 0ccf1031
      
      2000-04-27  scott snyder  <snyder@fnal.gov>
      
              * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
              classes.
      
      From-SVN: r33502
      Scott Snyder committed
    • [multiple changes] · f3b004d8
      
      2000-04-26  Nathan C. Myers  <ncm@cantrip.org>
      
      	* bits/basic_string.h: include <bits/atomicity.h> instead
              of <atomicity.h>, and use the uglified names.
              * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
              uglify names, eliminate dependence on <inttypes.h>.
              * src/Makefile.in, src/Makefile.am: refer to correct place
              for atomicity.h header.
      
      2000-04-25 Steven King <sxking@uswest.net>
      
              * bits/basic_string.h: Fix syntax error.
      
      2000-04-25  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
      	USE_LONG_DOUBLE.
      	(GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
      	* math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
      	versions to this as copysignl is needed anyway for these targets.
      	* math/Makefile.in: Regenerate.
      
      	* bits/streambuf.tcc (streambuf::xsgetn): Tweak.
      	* bits/fstream.tcc (underflow): Cast to libio types.
      	* bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
      	* config/c_io_libio.cc (seekoff): And here.
      
      From-SVN: r33501
      Benjamin Kosnik committed
    • c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are always TREE_READONLY. · a6496605
      	* c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
      	always TREE_READONLY.
      
      From-SVN: r33500
      Mark Mitchell committed
    • i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference for call… · d8b2fb52
      i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference for call instruction with mode QImode.
      
              * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
              for call instruction with mode QImode.
      
      From-SVN: r33499
      Ulrich Drepper committed
    • aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. · a9266bfa
      	* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
      
      	* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
      	(libiberty_AC_FUNC_STRNCMP): Invoke.
      
      	* strncmp.c: New file.
      
      From-SVN: r33498
      Kaveh R. Ghazi committed
    • 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 23 commits