1. 02 Apr, 1999 24 commits
    • tm.texi (USE_LOAD_POST_DECREMENT, [...]): Document. · 6e01bd94
      	* tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
      	USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document.
      	(USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
      	USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation.
      	* rtl.h	(USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
      	USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT,
      	USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
      	USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default
      	definition.
      	* expr.c: (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
      	USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default
      	definition.
      
      From-SVN: r26134
      Michael Hayes committed
    • tinfo.h (__class_type_info): Fix illegal declaration. · 8f032717
      1999-04-02  Mark Mitchell  <mark@codesourcery.com>
      	* tinfo.h (__class_type_info): Fix illegal declaration.
      	* cp-tree.def (TEMPLATE_ID_EXPR): Update comment.
      	* cp-tree.h (INHERITED_VALUE_BINDING_P): New macro.
      	(IDENTIFIER_CLASS_VALUE): Improve documentation.
      	(is_properly_derived_from): Declare.
      	(invalidate_class_lookup_cache): Likewise.
      	(maybe_maybe_note_name_used_in_class): Likewise.
      	(note_name_declared_in_class): Likewise.
      	(push_using_decl): Remove duplicate declaration.
      	(id_in_current_class): Remove declaration.
      	(push_class_binding): Change prototype.
      	(clear_identitifer_class_values): Declare.
      	* call.c (is_properly_derived_from): Make it global.
      	(build_new_function_call): Be careful about updating candidates.
      	(build_new_method_call): Handle COMPONENT_REFs.  Don't crash when
      	asked to make illegal calls.
      	* class.c: Include splay-tree.h.
      	(class_stack_node): Add names_used slot.
      	(check_member_decl_is_same_in_complete_scope): Remove.
      	(add_method): Fix comment.  Push the declaration into class
      	scope.
      	(finish_struct_1): When popping the class, pop the bindings too.
      	Remove check for data member/function member conflict.
      	(finish_struct): Remove calls to
      	check_member_decl_is_same_in_complete_scope.  Change calls to
      	popclass.
      	(pushclass): Clear names_used in the class stack entry.
      	Use invalidate_class_lookup_cache to remove cached entries, rather
      	than magic values with popclass.  Clear IDENTIFIER_CLASS_VALUE
      	before entering a new class.  Remove dead code.  Don't mess with
      	current_function_decl when pushing declarations.
      	(invalidate_class_lookup_cache): New function, split out from ...
      	(popclass): Here.  Clean up names_used on our way out.
      	(instantiate_type): Adjust.
      	(build_self_reference): Don't push the declaration here.
      	(maybe_note_name_used_in_class): New function.
      	(note_name_declared_in_class): Likewise.
      	* decl.c (add_binding): Change prototype.
      	(find_class_binding_level): New function.
      	(innermost_nonclass_level): Likewise.
      	(current_binding_level): Update documentation.
      	(inner_binding_level): Remove.  Replace with current_binding_level
      	throughout.
      	(push_binding_level): Remove special handling of
      	class_binding_level.
      	(pop_binding_level): Likewise.  Use find_class_binding_level.
      	(suspend_binding_level): Likewise.
      	(global_bindings_p): Use innermost_nonclass_level.
      	(toplevel_bindings_p): Likewise.
      	(namespace_bindings_p): Likewise.
      	(pseudo_global_level_p): Likewise.
      	(push_binding): Clear INHERITED_VALUE_BINDING_P.
      	(add_binding): Check for illegal multiple declarations.  Return a
      	value indicating whether or not the new binding was legal.
      	(push_local_binding): Skip over class binding levels.  Check
      	return value from add_binding.
      	(push_class_binding): Set INHERITED_VALUE_BINDING_P.  Call
      	note_name_declared_in_class.
      	(pushlevel_class): Remove "fake out the rest of the compiler"
      	code.
      	(poplevel_class): Reset IDENTIFIER_CLASS_VALUEs.
      	(clear_identifier_class_values): New function.
      	(pop_from_top_level): Use it.
      	(pop_everything): Tweak.
      	(maybe_process_template_type_declaration): Don't push the
      	declaration for the template here.
      	(pushtag): Don't push tag declarations into class scope here.
      	(pushdecl): Apply DeMorgan's law for readability.
      	(pushdecl_class_level): Remove special-case code for
      	TYPE_BEING_DEFINED.  Handle OVERLOADs and anonymous unions.
      	(push_class_level_bindng): Deal with inherited bindings.
      	(lookup_name_real): Remove special-case code for
      	TYPE_BEING_DEFINED, and some implicit typename magic.
      	(grokdeclarator): Handle COMPONENT_REF for a template function.
      	(build_enumerator): Don't call pushdecl_class_level here.
      	(id_in_current_class): Remove.
      	* decl2.c (grokfield): Don't call pushdecl_class_level or
      	check_template_shadow.
      	* errfn.c (cp_file_of): Don't declare.
      	(cp_line_of): Likewise.
      	* error.c (dump_decl): Handle an OVERLOAD.
      	(cp_file_of): Likewise.
      	(cp_line_of): Likewise.
      	* init.c (build_member_call): Handle a COMPONENT_REF.
      	* lex.c (do_identifier): Call maybe_note_name_used_in_class, not
      	pushdecl_class_level.
      	* method.c (hack_identifier): Build COMPONENT_REFs for references
      	to member templates as well as member functions.  Remove dead
      	code.
      	* parse.y (left_curly): Remove.
      	(nonnested_type): Call maybe_note_name_used_in_class, not
      	pushdecl_class_level.
      	* parse.c: Regenerated.
      	(nested_name_specifier_1): Likewise.
      	* pt.c (check_explicit_specialization): Adjust, for robustness.
      	(check_template_shadow): Handle OVERLOADs.
      	(build_template_decl): Set DECL_CONSTRUCTOR_P on the
      	TEMPLATE_DECL, if appropriate.
      	* search.c (envelope_add_decl): Remove.
      	(dfs_pushdecls): Likewise.
      	(dfs_compress_decls): Likewise.
      	(dfs_push_decls): New function.
      	(dfs_push_type_decls): Likewise.
      	(setup_class_bindings): Likewise.
      	(template_self_reference_p): Likewise.
      	(lookup_field_r): Use it.
      	(looup_member): Remove old comment.  Deal with ambiguity.
      	(push_class_decls): Use dfs_push_decls and dfs_push_type_decls,
      	and remove envelope processing.
      	* semantics.c (begin_class_definition): Let pushclass push
      	declarations for base classes.
      	(finish_member_declaration): Push declarations into class scope.
      	* typeck.c (build_component_ref): Just put an OVERLOAD into the
      	COMPONENT_REF, not a TREE_LIST of an OVERLOAD.
      	(build_x_function_call): Deal with OVERLOAD.  Handle template-ids.
      	* Makefile.in (class.o): Depend on splay-tree.h.
      
      From-SVN: r26133
      Mark Mitchell committed
    • splay-tree.h (splay_tree_compare_pointers): Declare. · ae7f7270
      1999-04-02  Mark Mitchell  <mark@codesourcery.com>
      	* splay-tree.h (splay_tree_compare_pointers): Declare.
      1999-04-02  Mark Mitchell  <mark@codesourcery.com>
      	* splay-tree.h (splay_tree_compare_pointers): Define.
      
      From-SVN: r26132
      Mark Mitchell committed
    • * fixinc/*: Delete obsolete files. · 2fa6b2d2
      From-SVN: r26131
      Jeffrey A Law committed
    • fixinc.dgux, [...]: Deleted. · 4f71d8e4
              * fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
              * fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.
      
      From-SVN: r26130
      Jeffrey A Law committed
    • configure.in: Set and substitute quoted_cc_set_by_configure. · 5aa82ace
              * configure.in: Set and substitute quoted_cc_set_by_configure.
              * configure: Rebuilt.
              * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.
      
      From-SVN: r26129
      Donn Terry committed
    • * Make-lang.in (CHILL_FLAGS_TO_PASS): Do not pass $(CC). · f6087261
      From-SVN: r26128
      Jeffrey A Law committed
    • cygwin.h (CPP_SPEC): Use mingw_include_path instead of a hardcoded path for -mno-cygwin. · ffb6cec0
      	* config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
      	of a hardcoded path for -mno-cygwin.
      	(mingw_include_path): New.
      
      From-SVN: r26127
      Stan Cox committed
    • configure (gxx_include_dir): Removed. · 88101ab9
      	* configure (gxx_include_dir): Removed.
      	* configure.in (gxx_include_dir): Handle it.
      	* Makefile.in: Likewise.
      	* libio/configure.in (gxx_include_dir): Handle it.
      	* libio/Makefile.in: Likewise.
      	* libstdc++/configure.in (gxx_include_dir): Handle it.
      	* libstdc++/Makefile.in: Likewise.
      
      From-SVN: r26126
      H.J. Lu committed
    • pdp11.c: Include "recog.h". · 09b893bb
              * pdp11.c: Include "recog.h".
              (output_functip', `notice_update_cc_on_set', `output_ascii',
              `output_function_epilogue', `output_function_prologue',
              `print_operand_address', `register_move_cost',
              `simple_memory_operand'.
              (HARD_REGNO_MODE_OK): Parenthesise `REGNO' arg.
              (REGNO_REG_CLASS): Likewise.
              * pdp11.md: Add explicit `int' to `static count' (in two places).
              (addhi3): Add explicit braces to avoid ambiguous else.
              (addqi3): Likewise.
              (ashlhi3): Likewise.
      
      From-SVN: r26125
      Joseph Myers committed
    • invoke.texi: Add documentation for additional supported MIPS CPU types... · 8b9243df
      	* gcc/invoke.texi: Add documentation for additional supported
      	MIPS CPU types, options -mips16 and -mentry, and ABI and ISA
      	defaults.
      
      From-SVN: r26124
      Jerry James committed
    • i386.md: Delete floating point compare... · 87aa5246
      	* i386.md: Delete floating point compare, add, subtract,
      	multiply, and divide patterns which allowed integer
      	operands.
      	* i386.c (output_386_binary_op): Delete unused code.
      	(output_float_compare): Likewise.
      
      From-SVN: r26123
      John Wehle committed
    • Fixed regex for finding C++ headers · ea5c0a50
      From-SVN: r26122
      Bruce Korb committed
    • i386.md (movsf+1, [...]): Update constraints so that SECONDARY_MEMORY_RELOAD is used. · 9f567f56
              * i386.md (movsf+1, movdf+1, movxf+1): Update constraints
              so that SECONDARY_MEMORY_RELOAD is used.  Remove dead code.
      
      From-SVN: r26121
      John Wehle committed
    • Complete the change to the 'fixinc.tmp' file · c095d84a
      From-SVN: r26120
      Bruce Korb committed
    • interix fixincludes · a734e0bf
      From-SVN: r26119
      Bruce Korb committed
    • UNTESTED support for interix · e05cb56a
      From-SVN: r26118
      Bruce Korb committed
    • Fix whitespace error. · 91e3ded8
      From-SVN: r26117
      Jeff Law committed
    • i386.c (print_operand_address, case REG): Do not use ESI addressing mode for the K6. · 69a8af43
              * i386.c (print_operand_address, case REG): Do not use ESI addressing
              mode for the K6.
              * i386.c (print_operand_address, case MULT): Use more efficient
              encoding (mult (reg) (const_int 2)).
      
      From-SVN: r26116
      Jan Hubicka committed
    • Update NEWS derived file · 57b1ca43
      From-SVN: r26115
      Craig Burley committed
    • The -malign-double option now works · 7cceca32
      From-SVN: r26114
      Craig Burley committed
    • give URL for my web page · 68b14c71
      From-SVN: r26113
      Craig Burley committed
    • Adopt to standard requirements. · ca704688
      From-SVN: r26112
      Martin v. Löwis committed
    • Daily bump. · 302a3fa6
      From-SVN: r26111
      Jeff Law committed
  2. 01 Apr, 1999 16 commits