From 899eb12d04c95c768dad93b88c24f0edfd100886 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 11 Aug 1992 13:25:14 +0000 Subject: [PATCH] Eliminate externs within {}. From-SVN: r1795 --- gcc/config/mips/mips.c | 19 +------------------ gcc/config/mips/mips.h | 5 +---- gcc/config/mips/mips.md | 19 ------------------- 3 files changed, 2 insertions(+), 41 deletions(-) diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 82f31aea626..4aed597e6cc 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -75,23 +75,6 @@ extern tree lookup_name (); extern void pfatal_with_name (); extern void warning (); -extern rtx gen_addsi3 (); -extern rtx gen_andsi3 (); -extern rtx gen_beq (); -extern rtx gen_bne (); -extern rtx gen_cmpsi (); -extern rtx gen_indirect_jump (); -extern rtx gen_iorsi3 (); -extern rtx gen_jump (); -extern rtx gen_movhi (); -extern rtx gen_movqi (); -extern rtx gen_movsi (); -extern rtx gen_movsi_ulw (); -extern rtx gen_movsi_usw (); -extern rtx gen_movstrsi_internal (); -extern rtx gen_return_internal (); -extern rtx gen_subsi3 (); - extern tree current_function_decl; extern FILE *asm_out_file; @@ -4561,8 +4544,8 @@ function_epilogue (file, size) num_refs[2] = 0; mips_load_reg = (rtx)0; mips_load_reg2 = (rtx)0; - number_functions_processed++; current_frame_info = zero_frame_info; + number_functions_processed++; /* Restore the output file if optimizing the GP (optimizing the GP causes the text to be diverted to a tempfile, so that data decls come before diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 307abbfa696..822428de806 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -473,7 +473,7 @@ while (0) /* Print subsidiary information on the compiler version in use. */ -#define MIPS_VERSION "[AL 1.1, MM 22]" +#define MIPS_VERSION "[AL 1.1, MM 23]" #ifndef MACHINE_TYPE #define MACHINE_TYPE "BSD Mips" @@ -2288,7 +2288,6 @@ while (0) \ case CONST: \ { \ - extern rtx eliminate_constant_term (); \ rtx offset = const0_rtx; \ rtx symref = eliminate_constant_term (X, &offset); \ \ @@ -3241,7 +3240,6 @@ rdata_section () \ #define SELECT_SECTION_MODE(MODE,RTX) \ { \ - extern int mips_section_threshold; \ if ((GET_MODE_SIZE(MODE) / BITS_PER_UNIT) <= mips_section_threshold \ && mips_section_threshold > 0) \ sdata_section (); \ @@ -3251,7 +3249,6 @@ rdata_section () \ #define SELECT_SECTION(DECL,RELOC) \ { \ - extern int mips_section_threshold; \ if (int_size_in_bytes (TREE_TYPE (DECL)) <= mips_section_threshold \ && mips_section_threshold > 0) \ sdata_section (); \ diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 15865ab2651..a92c9d50c77 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -1552,7 +1552,6 @@ move\\t%0,%z4\\n\\ if (reg1) /* turn off complaints about unreached code */ { - extern rtx gen_cmpdf (); emit_move_insn (reg1, immed_real_const_1 (offset, DFmode)); do_pending_stack_adjust (); @@ -1596,7 +1595,6 @@ move\\t%0,%z4\\n\\ if (reg1) /* turn off complaints about unreached code */ { - extern rtx gen_cmpsf (); emit_move_insn (reg1, immed_real_const_1 (offset, SFmode)); do_pending_stack_adjust (); @@ -1640,9 +1638,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx gen_movsi_ulw (); - extern rtx gen_movsi (); - /* Handle loads. */ if (GET_CODE (operands[0]) == MEM) { @@ -1675,7 +1670,6 @@ move\\t%0,%z4\\n\\ "" "* { - extern rtx eliminate_constant_term (); enum rtx_code code; char *ret; rtx offset; @@ -1726,7 +1720,6 @@ move\\t%0,%z4\\n\\ "" "* { - extern rtx eliminate_constant_term (); rtx offset = const0_rtx; rtx addr = XEXP (operands[0], 0); rtx mem_addr = eliminate_constant_term (addr, &offset); @@ -3058,8 +3051,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx force_reg (); - if (branch_type != CMP_SI) FAIL; @@ -3123,8 +3114,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx force_reg (); - if (branch_type != CMP_SI) FAIL; @@ -3187,8 +3176,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx force_reg (); - if (branch_type != CMP_SI) FAIL; @@ -3304,8 +3291,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx force_reg (); - if (branch_type != CMP_SI) FAIL; @@ -3369,8 +3354,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx force_reg (); - if (branch_type != CMP_SI) FAIL; @@ -3486,8 +3469,6 @@ move\\t%0,%z4\\n\\ "" " { - extern rtx force_reg (); - if (branch_type != CMP_SI) FAIL; -- 2.30.2