1. 04 Dec, 1998 5 commits
  2. 03 Dec, 1998 11 commits
  3. 02 Dec, 1998 11 commits
  4. 01 Dec, 1998 13 commits
    • * mips.md (trap_if): Use "$0" for the value zero. · b151501e
      From-SVN: r24053
      Jeffrey A Law committed
    • flow.c (delete_block): Call set_last_insn if we end up deleting the last insn in the rtl chain. · e3f6ee23
      	* flow.c (delete_block): Call set_last_insn if we end up deleting the
      	last insn in the rtl chain.
      
      From-SVN: r24052
      Jeffrey A Law committed
    • c-common.c (declare_function_name): Declare predefinied variable `__func__'. · 6f4d7222
              * c-common.c (declare_function_name): Declare predefinied variable
              `__func__'.
              * c-decl.c (flag_isoc9x): Set to 1 by default.
              (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
              (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
              * c-parse.in: Allow constructors in ISO C 9x.
              Rewrite designator list handling.
              Allow [*] parameters.
              Don't warn about comma at end of enum definition for ISO C 9x.
              * cccp.c (c9x): New variable.
              (rest_extension): New variable.
              (print_help): Document new -std= option.
              (main): Recognize -std= option.  Set c9x appropriately.
              (create_definition): Recognize ISO C 9x vararg macros.
              * gcc.c (default_compilers): Adjust specs for -std options.
              (option_map): Add --std.
              (display_help): Document -std.
              * toplev.c (documented_lang_options): Add -std and remove
              -flang-isoc9x.
              * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
              or REAL_VALUE_HTOF based on base of the constants.
              * fold-const.c (real_hex_to_f): New function.  Replacement function
              for hex FP conversion if REAL_ARITHMETIC is not defined.
              * real.c (asctoeg): Add handling of hex FP constants.
              * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
              real_hex_to_f.
      
      Co-Authored-By: Richard Henderson <rth@cygnus.com>
      Co-Authored-By: Stephen L Moshier <moshier@world.std.com>
      
      From-SVN: r24049
      Ulrich Drepper committed
    • mips.md (div_trap): Lost last return while editing conflicts. · 8da31fc1
      From-SVN: r24048
      Stan Cox committed
    • mips.md (divmodsi4*, [...]): Add -mcheck-range-division/ -mcheck-zero-division checking. · 08c2951c
      * mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add -mcheck-range-division/
      -mcheck-zero-division checking.  Avoid as macro expansion.  Use hi/lo as destination
      register.
      (div_trap): New.
      (divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*,
      umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking.
      Avoid as macro expansion.  Use hi/lo as destination register.
      * mips.h (MASK_CHECK_RANGE_DIV): New.
      (MASK_NO_CHECK_ZERO_DIV): New.
      (ELIMINABLE_REGS): Added GP_REG_FIRST + 31.
      (CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Allow for getting
      return address for leaf functions out of r31 to support
      builtin_return_address.
      
      From-SVN: r24047
      Stan Cox committed
    • Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> · 1f5fb51f
      Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
              * jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
              NEXT_INSN(x) to check insn x.
      
      From-SVN: r24046
      Herman A.J. ten Brugge committed
    • reload1.c (reload): Do not set reload_completed or split insns here. · 45c85c4e
              * reload1.c (reload): Do not set reload_completed or split insns
              here.  Instead...
              * toplev.c (rest_of_compilation): Set reload_completed after
              reload returns.  Split insns after reload_cse has run.
      
      From-SVN: r24037
      Jeffrey A Law committed
    • class.c (layout_class_method): Don't report error on non-static overriding… · 82371d41
      class.c (layout_class_method): Don't report error on non-static overriding static if the method is private.
      
      Tue Dec  1 13:53:24 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      	* class.c (layout_class_method): Don't report error on non-static
       	overriding static if the method is private.
      	* java-tree.h (finish_class): Prototype added.
      	* lex.c (java_get_line_col): Handle col argument -2 value.
      	* parse.h: All static method declarations moved to parse.y.
      	* parse.y: Now contains all static method declarations previously
       	found in parse.h.
      	(find_expr_with_wfl, missing_return_error,
       	unreachable_stmt_error): New functions.
      	(java_get_real_method_name): Identify constructors bearing class
       	names in source code compiled classes only.
      	(java_complete_expand_methods): Call missing_return_error.
      	(invocation_mode): Private methods invoked as static methods.
      	(java_complete_tree): Call unreachable_stmt_error.
      This patch corrects the way unreachable statement and missing return
      statement errors are reported. It also fixes random bugs.
      
      From-SVN: r24036
      Alexandre Petit-Bianco committed
    • reload1.c (emit_reload_insns): Clear spill_reg_store when doing a new… · 78a2bc08
      reload1.c (emit_reload_insns): Clear spill_reg_store when doing a new non-inherited reload from the same pseudo.
      
              * reload1.c (emit_reload_insns): Clear spill_reg_store
              when doing a new non-inherited reload from the same pseudo.
      
      From-SVN: r24029
      J"orn Rennecke committed
    • Makefile.in (+target): Removed. · de80f416
      	* Makefile.in (+target): Removed.
      	(+xmake_file): Likewise.
      	(+tmake_file): Likewise.
      	(.NOEXPORT): Removed duplicate.
      
      From-SVN: r24028
      Tom Tromey committed
    • Fix problems encountered after recent egcs->devo marge · bbc1b3f7
      From-SVN: r24027
      Nick Clifton committed
    • local-alloc.c (function_invariant_p): New function. · 2b49ee39
      	* local-alloc.c (function_invariant_p): New function.
      	(update_equiv_regs): Use function_invariant_p instead of CONSTANT_P
      	to decide if an equivalence should be recorded.
      	* reload1.c (num_eliminable_invariants): New static variable.
      	(reload): Set it.  Use function_invariant_p instead of CONSTANT_P
      	to decide if an equivalence should be recorded.
      	Unshare PLUS.
      	(calculate_needs_all_insns): Skip insns that only set an equivalence.
      	Take num_eliminable_invariants into account when deciding
      	if register elimination should be done.
      	(reload_as_needed): Take num_eliminable_invariants into account
      	when deciding if register elimination should be done.
      	(eliminate_regs): Handle non-constant reg_equiv_constant.
      	* rtl.h (function_invariant_p): Declare.
      
      From-SVN: r24026
      J"orn Rennecke committed