OSDN Git Service

* reload1.c (reload_startobj, reload_firstobj,
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Mar 2005 13:50:08 +0000 (13:50 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Mar 2005 13:50:08 +0000 (13:50 +0000)
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

gcc/ChangeLog
gcc/reload1.c

index 7345b4e..c846464 100644 (file)
@@ -8,6 +8,11 @@
        * flow.c (regs_live_at_setjmp): Make it static.
        * flow.h: Remove the corresponding prototype.
 
+       * reload1.c (reload_startobj, reload_firstobj,
+       something_needs_operands_changed, reload_inherited,
+       reload_inheritance_insn, reload_override_in,
+       reload_spill_index): Make them static.
+
 2005-03-07  David Billinghurst <David.Billinghurst@riotinto.com>
 
        * config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv.
index d4141be..32f8ddc 100644 (file)
@@ -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)
 \f
 /* 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