summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-07 13:50:08 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-07 13:50:08 +0000
commit56d727be93428e4cca9adcc0092c4be17c5a7655 (patch)
treea474e5d86e78b320ffcbddd8cdd6149f94afe0d3 /gcc/reload1.c
parentaa491715d81c2029bef043c8da578b67cc11ace2 (diff)
downloadgcc-56d727be93428e4cca9adcc0092c4be17c5a7655.tar.gz
* reload1.c (reload_startobj, reload_firstobj,
something_needs_operands_changed, reload_inherited, reload_inheritance_insn, reload_override_in, reload_spill_index): Make them static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index d4141be5aee..32f8ddcd22e 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -272,11 +272,11 @@ struct obstack reload_obstack;
/* Points to the beginning of the reload_obstack. All insn_chain structures
are allocated first. */
-char *reload_startobj;
+static char *reload_startobj;
/* The point after all insn_chain structures. Used to quickly deallocate
memory allocated in copy_reloads during calculate_needs_all_insns. */
-char *reload_firstobj;
+static char *reload_firstobj;
/* This points before all local rtl generated by register elimination.
Used to quickly free all memory after processing one insn. */
@@ -615,7 +615,7 @@ replace_pseudos_in (rtx *loc, enum machine_mode mem_mode, rtx usage)
/* Set during calculate_needs if an insn needs register elimination. */
static int something_needs_elimination;
/* Set during calculate_needs if an insn needs an operand changed. */
-int something_needs_operands_changed;
+static int something_needs_operands_changed;
/* Nonzero means we couldn't get enough spill regs. */
static int failure;
@@ -4666,19 +4666,19 @@ reloads_conflict (int r1, int r2)
/* Indexed by reload number, 1 if incoming value
inherited from previous insns. */
-char reload_inherited[MAX_RELOADS];
+static char reload_inherited[MAX_RELOADS];
/* For an inherited reload, this is the insn the reload was inherited from,
if we know it. Otherwise, this is 0. */
-rtx reload_inheritance_insn[MAX_RELOADS];
+static rtx reload_inheritance_insn[MAX_RELOADS];
/* If nonzero, this is a place to get the value of the reload,
rather than using reload_in. */
-rtx reload_override_in[MAX_RELOADS];
+static rtx reload_override_in[MAX_RELOADS];
/* For each reload, the hard register number of the register used,
or -1 if we did not need a register for this reload. */
-int reload_spill_index[MAX_RELOADS];
+static int reload_spill_index[MAX_RELOADS];
/* Subroutine of free_for_value_p, used to check a single register.
START_REGNO is the starting regno of the full reload register