aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1992-08-11 13:25:14 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1992-08-11 13:25:14 +0000
commit899eb12d04c95c768dad93b88c24f0edfd100886 (patch)
treea25187c60f26b64013176199a000af2cc455f0a4 /gcc
parent001af587150d86c4548f998fba9ff3f6ad96781b (diff)
downloadgcc-899eb12d04c95c768dad93b88c24f0edfd100886.zip
gcc-899eb12d04c95c768dad93b88c24f0edfd100886.tar.gz
gcc-899eb12d04c95c768dad93b88c24f0edfd100886.tar.bz2
Eliminate externs within {}.
From-SVN: r1795
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.c19
-rw-r--r--gcc/config/mips/mips.h5
-rw-r--r--gcc/config/mips/mips.md19
3 files changed, 2 insertions, 41 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 82f31ae..4aed597 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 307abbf..822428d 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 15865ab..a92c9d5 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;