1. 17 Mar, 1999 7 commits
  2. 16 Mar, 1999 16 commits
  3. 15 Mar, 1999 17 commits
    • bit-pattern directly. · b5253831
              (ASM_OUTPUT_REG_{PUSH,POP}): Delete.
              * rs6000.c (first_reg_to_save): If profiling and context needed,
              allocate a reg to save static chain for all ABIs.  For AIX
              profiling, calculate parameter registers to save based on need.
              (output_function_profiler): Save and restore static chain around
              profile call for all ABIs.
      
      From-SVN: r25795
      David Edelsohn committed
    • lex.c: Don't include setjmp.h. · 9b2bf201
              * lex.c: Don't include setjmp.h.
              (parse_float): New static function.
              (pf_args): New struct.
              (real_yylex): Use them in call to `do_float_handler'.
      
      From-SVN: r25794
      Kaveh R. Ghazi committed
    • cppinit.c: Instead of one pending list... · 0b22d65c
      1999-03-15 21:39 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
      	* cppinit.c: Instead of one pending list, keep separate lists
      	for each category of pending option: -D/-U, -A, -include,
      	-imacros.  Move the four partial include-path lists into the
      	pending block.  Use head and tail pointers so we don't ever
      	have to reverse the lists.
      	(cpp_start_read): Break out blocks of code to their own
      	functions: install_predefs and initialize_dependency_output.
      	Use path_include for C_INCLUDE_PATH and friends as well as
      	CPATH.  Remove include_defaults gunk.  Warn about the
      	combination of -lang-chill and -trigraphs.  Optimize string
      	bashing.  Walk each pending list once, deallocating as we go.
      	(append_include_chain): Brought over from cppfiles.c.  Mark
      	dirs as system include dirs if and only if appending to
      	system include path. If opts->verbose, print a notice when a
      	dir is dropped from the include path because it doesn't
      	exist.  Fix memory leak: this function is not supposed to copy
      	its DIR argument.
      	(nreverse_pending, push_pending): Removed.
      	(APPEND): New macro for adding to pending lists.
      	(path_include): Can now add to any partial include path.
      	(base_name): Bring over from cccp.c.
      	(cpp_options_init): Allocate the pending block.
      	(cpp_handle_option): Add --version.  Exit after --help.  Fix
      	formatting.  Order -ifoo options by frequency of usage.
      	(install_predefs): New function, simplified version of code
      	that was in cpp_start_read.
      	(initialize_dependency_output): Likewise.  Understand OBJECT_SUFFIX.
      	* cppfiles.c (simplify_pathname): Export.
      	(merge_include_chains):  Don't nreverse the lists.  If
      	opts->verbose, print a notice when a duplicate dir is detected
      	and dropped from the include path.
      	(finclude): Fix excessive cleverness in setting
      	fp->system_header_p.
      	(actual_directory): Set x->sysp from
      	CPP_BUFFER (pfile)->system_header_p so that one system header
      	may include another with "".
      	(deps_output): Fix double adjustment of deps_size which would
      	cause all dependencies after the first two lines to be lost.
      	* cpplib.c (cpp_unassert): New function.
      	* cpplib.h: Lay out struct cpp_pending here.  Adjust
      	prototypes.  Add include_prefix_len to struct cpp_options.
      
      From-SVN: r25793
      Zack Weinberg committed
    • mips.h (REGISTER_MOVE_COST): Make the cost of moving from HI/LO/HILO/MD into… · 56dc4d15
      mips.h (REGISTER_MOVE_COST): Make the cost of moving from HI/LO/HILO/MD into general registers the same as...
      
      Mon Mar 15 16:01:52 1999  Jim Wilson  <wilson@cygnus.com>
      	* config/misp/mips.h (REGISTER_MOVE_COST): Make the cost of moving
       	from HI/LO/HILO/MD into general registers the same as for one
       	of moving general registers to HI/LO/HILO/MD.
      
      From-SVN: r25792
      Jim Wilson committed
    • Update BUGS, NEWS derived files · 68d02aa0
      From-SVN: r25791
      Craig Burley committed
    • Editorial fixes to g77 docs · 811cabee
      From-SVN: r25790
      Craig Burley committed
    • decl.c (xref_basetypes): Set CLASSTYPE_VBASECLASSES here. · 70c532b5
      	* decl.c (xref_basetypes): Set CLASSTYPE_VBASECLASSES here.
      	* tree.c (layout_basetypes): Not here.
      	* search.c (dfs_search): Remove; no longer used.
      
      From-SVN: r25789
      Mark Mitchell committed
    • class.c (make_class): Don't set CLASS_P here (because this function is also called by... · c52016e4
      	
      	* class.c (make_class):  Don't set CLASS_P here (because
      	this function is also called by build_java_array_type).
      	(push_class):  Set CLASS_P here instead.
      	* parse.h (TYPE_CLASS_P):  Check for TYPE_ARRAY_P is redundant.
      	* jcf-dump.c (print_access_flags):  Take extra parameter to indicate
      	context.  If the context is class, perfer "super" over "synchronized".
      	* jcf-write.c (generate_classfile):  Don't add ACC_SUPER if interface.
      	* parse.y (create_class):  Don't call parser_check_super here;
      	it is not robust.  Always wait until later.
      	* parse.y (method_header):  For interfaces, set ACC_ABSTRACT (to
      	match what JDK 1.2 does), but don't set ACC_PUBLIC.
      
      From-SVN: r25785
      Per Bothner committed
    • class.c (make_class): Don't set CLASS_P here (because this function is also called by... · 2c3199bc
      d
      	* class.c (make_class):  Don't set CLASS_P here (because
      	this function is also called by build_java_array_type).
      	(push_class):  Set CLASS_P here instead.
      	* parse.h (TYPE_CLASS_P):  Check for TYPE_ARRAY_P is redundant.
      	* jcf-dump.c (print_access_flags):  Take extra parameter to indicate
      	context.  If the context is class, perfer "super" over "synchronized".
      	* jcf-write.c (generate_classfile):  Don't add ACC_SUPER if interface.
      	* parse.y (create_class):  Don't call parser_check_super here;
      	it is not robust.  Always wait until later.
      	* parse.y (method_header):  For interfaces, set ACC_ABSTRACT (to
      	match what JDK 1.2 does), but don't set ACC_PUBLIC.
      
      From-SVN: r25784
      Per Bothner committed
    • class.c (make_class): Don't set CLASS_P here (because this function is also called by... · 2728f622
      a
      	* class.c (make_class):  Don't set CLASS_P here (because
      	this function is also called by build_java_array_type).
      	(push_class):  Set CLASS_P here instead.
      	* parse.h (TYPE_CLASS_P):  Check for TYPE_ARRAY_P is redundant.
      	* jcf-dump.c (print_access_flags):  Take extra parameter to indicate
      	context.  If the context is class, perfer "super" over "synchronized".
      	* jcf-write.c (generate_classfile):  Don't add ACC_SUPER if interface.
      	* parse.y (create_class):  Don't call parser_check_super here;
      	it is not robust.  Always wait until later.
      	* parse.y (method_header):  For interfaces, set ACC_ABSTRACT (to
      	match what JDK 1.2 does), but don't set ACC_PUBLIC.
      
      From-SVN: r25783
      Per Bothner committed
    • class.c (make_class): Don't set CLASS_P here (because this function is also called by... · 10919149
      T
      	* class.c (make_class):  Don't set CLASS_P here (because
      	this function is also called by build_java_array_type).
      	(push_class):  Set CLASS_P here instead.
      	* parse.h (TYPE_CLASS_P):  Check for TYPE_ARRAY_P is redundant.
      	* jcf-dump.c (print_access_flags):  Take extra parameter to indicate
      	context.  If the context is class, perfer "super" over "synchronized".
      	* jcf-write.c (generate_classfile):  Don't add ACC_SUPER if interface.
      	* parse.y (create_class):  Don't call parser_check_super here;
      	it is not robust.  Always wait until later.
      	* parse.y (method_header):  For interfaces, set ACC_ABSTRACT (to
      	match what JDK 1.2 does), but don't set ACC_PUBLIC.
      
      From-SVN: r25782
      Per Bothner committed
    • decl2.c (validate_nonmember_using_decl): Issue sensible error-messages on bogus qualifiers. · b5d51daa
      	* decl2.c (validate_nonmember_using_decl): Issue sensible
      	error-messages on bogus qualifiers.
      
      From-SVN: r25781
      Mark Mitchell committed
    • Remove leading and trailing double underscores from m32r specific attribute · dd535142
      names in order to match the documentation.
      
      From-SVN: r25780
      Nick Clifton committed
    • reload.c (find_reloads): Add a REG_LABEL note if we substitute a LABEL_REF for something else. · e54db24f
      Mon Mar 15 10:20:20 1999  Mark Mitchell  <mark@markmitchell.com>
              * reload.c (find_reloads): Add a REG_LABEL note if we substitute a
              LABEL_REF for something else.
      
      From-SVN: r25777
      Mark Mitchell committed
    • fold-const.c (exact_real_inverse): Move variable `float_error' into the scope where it is used. · a4d3481d
              * fold-const.c (exact_real_inverse): Move variable `float_error'
              into the scope where it is used.
              (const_binop_1): New static function.
              (cb_args): New struct.
              (const_binop): Use them in call to `do_float_handler'.
              (fold_convert_1): New static function.
              (fc_args): New struct.
              (fold_convert): Use them in call to `do_float_handler'.
      
      From-SVN: r25776
      Kaveh R. Ghazi committed
    • rtlanal.c (auto_inc_p): New function. · 2dfa9a87
      	* rtlanal.c (auto_inc_p): New function.
              * rtl.h (auto_inc_p): Prototype it.
      	* reload1.c (add_auto_inc_notes): New function.
      	(reload): Strip REG_INC notes and call add_auto_inc_notes
      	for each insn to restore them correctly.
      
      From-SVN: r25774
      Michael Hayes committed