- 27 Jan, 1998 15 commits
-
-
* 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 -
From-SVN: r17513
Todd Vierling committed -
* 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 -
* 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, 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(). From-SVN: r17509
Nick Clifton committed -
* 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 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. (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. (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 -
From-SVN: r17504
Kamil Iskra committed -
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 -
From-SVN: r17502
Richard Henderson committed -
From-SVN: r17501
Jason Merrill committed -
* pt.c (type_unification_real): Just accept function parms that don't use any template parms. From-SVN: r17500
Jason Merrill committed
-
- 26 Jan, 1998 13 commits
-
-
* dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO. * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0. From-SVN: r17499
John Carr committed -
* emit-rtl.c (gen_lowpart_common): Handle more case where converting a CONST_INT into SFmode. From-SVN: r17498
Jeffrey A Law committed -
* flags.h: New flag (optimize_size). * toplev.c (main): Parse -Os option and set optimize_space accordingly. * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define __OPTIMIZE_SIZE__ when compiling with -Os. * config/dsp16xx/dsp16xx.h, config/i386/i386.h, config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h, config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument to macro. * config/i386/i386.c (optimization_options): Accept new SIZE argument. From-SVN: r17497
Anthony Green committed -
* libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl stuff only if MCT_TEXT is #define'd. From-SVN: r17496
Manfred Hollstein committed -
* configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32 configurations. From-SVN: r17495
Markus F.X.J. Oberhumer committed -
* toplev.c: Add -dM command line option to dump RTL after the machine dependent reorganisation pass, if there is one. Reorganise RTL dump code, so that only one file handle is needed. From-SVN: r17494
Nick Clifton committed -
* except.c (check_exception_handler_labels): Disable warning when flag_syntax_only. From-SVN: r17493
Benjamin Kosnik committed -
* sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P. From-SVN: r17491
Jim Wilson committed -
parameter lists. * c-decl.c (grokdeclarator): Get parameter tags from last_function_parm_tags. * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before traversing the parameter types. (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context. From-SVN: r17490
J"orn Rennecke committed -
From-SVN: r17489
Jeff Law committed -
From-SVN: r17488
Jeff Law committed -
From-SVN: r17487
Jeff Law committed -
* h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and the default case. (get_shift_alg): Fix typo. From-SVN: r17486
Jeffrey A Law committed
-
- 25 Jan, 1998 12 commits
-
-
From-SVN: r17485
Richard Henderson committed -
From-SVN: r17484
Richard Henderson committed -
* configure.in (build_xm_file): Add auto-config.h if host=build. (host_xm_file_list): Don't add $(srcdir) to auto-config.h. (build_xm_file_list): Likewise. * configure: Rebuild. From-SVN: r17483
Richard Henderson committed -
recog.c (validate_replace_rtx_1): Only perform substitutions of arguments to commutative and comparison operators... * recog.c (validate_replace_rtx_1): Only perform substitutions of arguments to commutative and comparison operators once. From-SVN: r17482
Alasdair Baird committed -
From-SVN: r17481
Jeff Law committed -
From-SVN: r17479
Jeff Law committed -
* std/bastring.h (unique): We only need length bytes. (c_str): Avoid writing over random memory. #include <std/bastring.cc>. Lose _G_ALLOC_CONTROL. * std/bastring.cc: Likewise. (nilRep): Add initializer for selfish. * sinst.cc: Just #include <string>. Fix a couple of bugs, linux undefined symbol problem. From-SVN: r17478
Jason Merrill committed -
* decl.c (cp_finish_decl): When bailing on a comdat variable, also unset DECL_NOT_REALLY_EXTERN. From-SVN: r17477
Jason Merrill committed -
From-SVN: r17476
Jason Merrill committed -
* config/sparc/sparc.c (output_cbranch): Add default case in enumeration switch. * reorg.c (insn_sets_resource_p): Correct typo in prototype. (emit_delay_sequence): Eliminate unused parameter, all callers changed. (fill_simple_delay_slots): Likewise. (fill_slots_from_thread): Likewise. (fill_eager_delay_slots): Likewise. (mark_referenced_resources): Add default case in enumeration switch. (mark_set_resources): Likewise. (rare_destination): Likewise. (mostly_true_jump): Likewise. (find_dead_or_set_registers): Likewise. (redirect_with_delay_slots_safe_p): Remove unused variable `slots'. (update_reg_unused_notes): Remove unused variable `p'. (mark_target_live_regs): Remove unused variables `next' and `jump_count'. (fill_simple_delay_slots): Remove unused variable `j'. (fill_slots_from_thread): Add parentheses around assignment used as truth value. (dbr_schedule): Likewise. From-SVN: r17475
Kaveh R. Ghazi committed -
* Make-lang.in (f77.stage1): Depend on stage1-start so parallel make works better. * (f77.stage2): Likewise for stage2-start. * (f77.stage3): Likewise for stage3-start. * (f77.stage4): Likewise for stage4-start. From-SVN: r17474
Kaveh R. Ghazi committed -
* objc/Make-lang.in (objc.stage1): Depend on stage1-start. (objc.stage2, objc.stage3, objc.stage4): Likewise. From-SVN: r17473
Kaveh R. Ghazi committed
-