1. 27 Jan, 1998 15 commits
    • m32r.md, [...]: Add some comments regarding use of dead_or_set_p. · 4b6bb562
              * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
              some comments regarding use of dead_or_set_p.
      
      From-SVN: r17514
      Mike Stump committed
    • * fixincludes: Tweak fix for struct exception in math.h · e95f0195
      From-SVN: r17513
      Todd Vierling committed
    • call.c (add_template_candidate_real): New function. · e1467ff2
      	* call.c (add_template_candidate_real): New function.
      	(add_template_candidate): Use it.
      	(add_template_conv_candidate): Likewise.
      	(joust): Pass extra argument to more_specialized.
      	* class.c (instantiate_type): Handle a single FUNCTION_DECL.
      	(is_local_class): Remove.
      	(finish_struct): Check TI_PENDING_SPECIALIZATION_FLAG.
      	* cp-tree.h (is_local_class): Remove.
      	(perform_array_to_pointer_conversion): Likewise.
      	(finish_member_template_decl): Add.
      	(check_explicit_specialization): Return a tree, not an int.
      	(more_specialized): Take additional argument.
      	(get_bindings): Likewise.
      	(TI_PENDING_SPECIALIZATION_FLAG): New macro.
      	* cvt.c (perform_qualification_conversions): Use comp_ptr_ttypes.
      	(perform_array_to_pointer_conversion): Remove.
      	* decl.c (saved_scope): Add processing_specialization,
      	processing_explicit_instantiation fields.
      	(maybe_push_to_top_level): Save them.
      	(pop_from_top_level): Restore them.
      	(grokfndecl): Use new return value from
      	check_explicit_specialization.
      	(start_decl): Don't check flag_guiding_decls before pushing
      	decls.
      	(cp_finish_decl): Remove previous (bogus) change.
      	(grok_declarator): Use decl_function_context rather than
      	is_local_class.
      	* decl2.c (finish_file): Pass extra argument to get_bindings.
      	(build_expr_from_tree): Let build_x_component_ref check
      	validity of arguments rather than doing it here.
      	* lex.c (cons_up_default_function): Remove code fooling with
      	processing_specialization, processing_explicit_instantiation
      	flags, as that is now done in {maybe_push_top,pop_from}_top_level.
      	* method.c (build_overload_identifier): Mangle local classes in
      	template functions correctly.
      	* parse.y (finish_member_template_decl): Move to pt.c.
      	* pt.c (finish_member_template_decl): Moved here from parse.y.
      	(print_candidates): New function.
      	(determine_specialization): Change interface.  Properly look for
      	most specialized versions of template candidates.
      	(check_explicit_specialization): Fully process explicit
      	instantiations.
      	(push_template_decl): Avoid looking at CLASSTYPE fields in
      	FUNCTION_DECLS.
      	(determine_overloaded_function): Remove.
      	(convert_nontype_argument): Change name from
      	convert_nontype_parameter.  Use determine_overloaded_function
      	instead of instantiate_type.
      	(mangle_class_name_for_template): Handle type contexts as well as
      	function contexts.
      	(classtype_mangled_name): Likewise.
      	(lookup_template_class): Likewise.
      	(tsubst): Likewise.
      	(more_specialized): Take explict template arguments as a
      	parameter.
      	(most_specialized): Likewise.
      	(get_bindings): Likewise.  Check that return types match before
      	proclaiming a function a match.
      	(do_decl_instantiation): Remove code searching for function to
      	instantiate; that is now done in check_explicit_specialization.
      	(add_maybe_template): Pass extra argument to get_bindings.
      	* tree.c (really_overloaded_fn): Use is_overloaded_fn to simplify
      	implementation.
      	* typeck.c (build_component_ref): Check for invalid arguments.
      
      From-SVN: r17512
      Mark Mitchell committed
    • Patch from Gavin to fix mips16 prologue/epilogue bugs. · c3499f00
      	* mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
      	Change mode of registers used to add/sub from
      	hard_frame_pointer_rtx from word_mode to Pmode.
      
      From-SVN: r17511
      Gavin Koch committed
    • expr.c (cplus_expand_expr, [...]): Don't check that return_target and call_target are equivalent. · 56841f01
      	* expr.c (cplus_expand_expr, AGGR_INIT_EXPR): Don't check that
      	return_target and call_target are equivalent.
      
      From-SVN: r17510
      Jason Merrill committed
    • v850.h (ASM_OUTPUT_ALIGNED_BSS): Use asm_output_aligned_bss() instead of asm_output_bss(). · 6db34dd4
              * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
              asm_output_aligned_bss() instead of asm_output_bss().
      
      From-SVN: r17509
      Nick Clifton committed
    • Makefile.in (install): Remove the shared library symlink even if we aren't installing it. · c2d33997
      	* Makefile.in (install): Remove the shared library symlink even if
       	we aren't installing it.
      
      From-SVN: r17508
      Jason Merrill committed
    • toplev.c (rest_of_compilation): Replace references to stack_reg_dump_file and… · 01898d58
      toplev.c (rest_of_compilation): Replace references to stack_reg_dump_file and dbr_sched_dump_file with...
      
              * toplev.c (rest_of_compilation): Replace references to
              stack_reg_dump_file and dbr_sched_dump_file with references to
              rtl_dump_file.
      
      From-SVN: r17507
      Nick Clifton committed
    • configure.in (topsrcdir): New. · 4b52c114
              * configure.in (topsrcdir): New.
              (CHECK_SUBDIRS, configdirs): Check ${topsrcdir}/gcc instead.
              (config-ml.in): Use ${topsrcdir}/config-ml.in.
              * tests/configure.in (topsrcdir): New.
              (CHECK): Check ${topsrcdir}/gcc instead.
      
      From-SVN: r17506
      H.J. Lu committed
    • configure.in (topsrcdir): New. · 3fdcc721
              * configure.in (topsrcdir): New.
              (configdirs): Check ${topsrcdir}/gcc instead.
              (config-ml.in): Use ${topsrcdir}/config-ml.in.
              * tests/configure.in (topsrcdir): New.
              (check): Check ${topsrcdir}/gcc instead.
      Fixes multilib problems when srcdir == objdir.
      
      From-SVN: r17505
      H.J. Lu committed
    • alpha.c (output_epilog [!VMS]): Don't tag global functions if compiling with… · 60593797
      alpha.c (output_epilog [!VMS]): Don't tag global functions if compiling with -fpic -- we want to be able to...
      
      * alpha.c (output_epilog [!VMS]): Don't tag global functions if
      compiling with -fpic -- we want to be able to override symbols
      properly.
      (alpha_expand_block_move): Fix thinko in last change.
      * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
      * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
      * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
      
      From-SVN: r17503
      Richard Henderson committed
    • * alpha.md (abssf, absdf): Revert last change. · 5e4aab97
      From-SVN: r17502
      Richard Henderson committed
    • new · 2b44e25a
      From-SVN: r17501
      Jason Merrill committed
    • pt.c (type_unification_real): Just accept function parms that don't use any template parms. · 343c89cd
      	* pt.c (type_unification_real): Just accept function parms that
      	don't use any template parms.
      
      From-SVN: r17500
      Jason Merrill committed
  2. 26 Jan, 1998 13 commits
  3. 25 Jan, 1998 12 commits