diff options
author | Stan Shebs <shebs@apple.com> | 2001-10-11 03:16:15 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2001-10-11 03:16:15 +0000 |
commit | b36948478c22c58018d0a888ee8ca393dea60dc9 (patch) | |
tree | 2c6aa7c24a8c3a2367f6f050b8747583f29cf4ad /gcc/combine.c | |
parent | b83018cacae33cffd27b111cfc38e389497d1ae3 (diff) | |
download | gcc-b36948478c22c58018d0a888ee8ca393dea60dc9.zip gcc-b36948478c22c58018d0a888ee8ca393dea60dc9.tar.gz gcc-b36948478c22c58018d0a888ee8ca393dea60dc9.tar.bz2 |
alias.c: Remove uses of "register" specifier in declarations of arguments and local...
2001-10-10 Stan Shebs <shebs@apple.com>
* alias.c: Remove uses of "register" specifier in declarations
of arguments and local variables.
* c-common.c: Ditto.
* c-convert.c: Ditto.
* c-decl.c: Ditto.
* c-format.c: Ditto.
* c-semantics.c: Ditto.
* c-typeck.c: Ditto.
* caller-save.c: Ditto.
* calls.c: Ditto.
* cfg.c: Ditto.
* cfgbuild.c: Ditto.
* cfgrtl.c: Ditto.
* collect2.c: Ditto.
* combine.c: Ditto.
* convert.c: Ditto.
* cppexp.c: Ditto.
* cppfiles.c: Ditto.
* cse.c: Ditto.
* dbxout.c: Ditto.
* defaults.h: Ditto.
* df.c: Ditto.
* dwarf2out.c: Ditto.
* dwarfout.c: Ditto.
* emit-rtl.c: Ditto.
* explow.c: Ditto.
* expmed.c: Ditto.
* expr.c: Ditto.
* final.c: Ditto.
* fix-header.c: Ditto.
* floatlib.c: Ditto.
* flow.c: Ditto.
* fold-const.c: Ditto.
* function.c: Ditto.
* gcc.c: Ditto.
* gcse.c: Ditto.
* gen-protos.c: Ditto.
* genattrtab.c: Ditto.
* gencheck.c: Ditto.
* genconfig.c: Ditto.
* genemit.c: Ditto.
* genextract.c: Ditto.
* genflags.c: Ditto.
* gengenrtl.c: Ditto.
* genoutput.c: Ditto.
* genpeep.c: Ditto.
* genrecog.c: Ditto.
* gensupport.c: Ditto.
* global.c: Ditto.
* gmon.c: Ditto.
* graph.c: Ditto.
* haifa-sched.c: Ditto.
* hard-reg-set.h: Ditto.
* hash.c: Ditto.
* integrate.c: Ditto.
* jump.c: Ditto.
* lists.c: Ditto.
* local-alloc.c: Ditto.
* loop.c: Ditto.
* mips-tdump.c: Ditto.
* mips-tfile.c: Ditto.
* optabs.c: Ditto.
* prefix.c: Ditto.
* print-rtl.c: Ditto.
* read-rtl.c: Ditto.
* real.c: Ditto.
* recog.c: Ditto.
* reg-stack.c: Ditto.
* regclass.c: Ditto.
* regmove.c: Ditto.
* reload.c: Ditto.
* reload1.c: Ditto.
* reorg.c: Ditto.
* resource.c: Ditto.
* rtl.c: Ditto.
* rtlanal.c: Ditto.
* scan.c: Ditto.
* sched-deps.c: Ditto.
* sched-rgn.c: Ditto.
* sdbout.c: Ditto.
* simplify-rtx.c: Ditto.
* stmt.c: Ditto.
* stor-layout.c: Ditto.
* toplev.c: Ditto.
* tradcif.y: Ditto.
* tradcpp.c: Ditto.
* tree.c: Ditto.
* unroll.c: Ditto.
* varasm.c: Ditto.
* xcoffout.c: Ditto.
From-SVN: r46173
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index de80e8d..43b1b9e9 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -478,12 +478,12 @@ combine_instructions (f, nregs) rtx f; unsigned int nregs; { - register rtx insn, next; + rtx insn, next; #ifdef HAVE_cc0 - register rtx prev; + rtx prev; #endif - register int i; - register rtx links, nextlinks; + int i; + rtx links, nextlinks; int new_direct_jump_p = 0; @@ -1473,8 +1473,8 @@ cant_combine_insn_p (insn) static rtx try_combine (i3, i2, i1, new_direct_jump_p) - register rtx i3, i2, i1; - register int *new_direct_jump_p; + rtx i3, i2, i1; + int *new_direct_jump_p; { /* New patterns for I3 and I2, respectively. */ rtx newpat, newi2pat = 0; @@ -1506,7 +1506,7 @@ try_combine (i3, i2, i1, new_direct_jump_p) int maxreg; rtx temp; - register rtx link; + rtx link; int i; /* Exit early if one of the insns involved can't be used for @@ -3261,14 +3261,14 @@ find_split_point (loc, insn) static rtx subst (x, from, to, in_dest, unique_copy) - register rtx x, from, to; + rtx x, from, to; int in_dest; int unique_copy; { - register enum rtx_code code = GET_CODE (x); + enum rtx_code code = GET_CODE (x); enum machine_mode op0_mode = VOIDmode; - register const char *fmt; - register int len, i; + const char *fmt; + int len, i; rtx new; /* Two expressions are equal if they are identical copies of a shared @@ -3376,7 +3376,7 @@ subst (x, from, to, in_dest, unique_copy) { if (fmt[i] == 'E') { - register int j; + int j; for (j = XVECLEN (x, i) - 1; j >= 0; j--) { if (COMBINE_RTX_EQUAL_P (XVECEXP (x, i, j), from)) @@ -9550,7 +9550,7 @@ recog_for_combine (pnewpat, insn, pnotes) rtx insn; rtx *pnotes; { - register rtx pat = *pnewpat; + rtx pat = *pnewpat; int insn_code_number; int num_clobbers_to_add = 0; int i; @@ -9654,7 +9654,7 @@ recog_for_combine (pnewpat, insn, pnotes) static rtx gen_lowpart_for_combine (mode, x) enum machine_mode mode; - register rtx x; + rtx x; { rtx result; @@ -9697,7 +9697,7 @@ gen_lowpart_for_combine (mode, x) if (GET_CODE (x) == MEM) { - register int offset = 0; + int offset = 0; /* Refuse to work on a volatile memory ref or one with a mode-dependent address. */ @@ -10964,9 +10964,9 @@ static void update_table_tick (x) rtx x; { - register enum rtx_code code = GET_CODE (x); - register const char *fmt = GET_RTX_FORMAT (code); - register int i; + enum rtx_code code = GET_CODE (x); + const char *fmt = GET_RTX_FORMAT (code); + int i; if (code == REG) { @@ -11148,7 +11148,7 @@ static void record_dead_and_set_regs (insn) rtx insn; { - register rtx link; + rtx link; unsigned int i; for (link = REG_NOTES (insn); link; link = XEXP (link, 1)) @@ -11409,12 +11409,12 @@ get_last_value (x) static int use_crosses_set_p (x, from_cuid) - register rtx x; + rtx x; int from_cuid; { - register const char *fmt; - register int i; - register enum rtx_code code = GET_CODE (x); + const char *fmt; + int i; + enum rtx_code code = GET_CODE (x); if (code == REG) { @@ -11444,7 +11444,7 @@ use_crosses_set_p (x, from_cuid) { if (fmt[i] == 'E') { - register int j; + int j; for (j = XVECLEN (x, i) - 1; j >= 0; j--) if (use_crosses_set_p (XVECEXP (x, i, j), from_cuid)) return 1; @@ -11617,7 +11617,7 @@ mark_used_regs_combine (x) { /* If setting a MEM, or a SUBREG of a MEM, then note any hard regs in the address. */ - register rtx testreg = SET_DEST (x); + rtx testreg = SET_DEST (x); while (GET_CODE (testreg) == SUBREG || GET_CODE (testreg) == ZERO_EXTRACT @@ -11639,7 +11639,7 @@ mark_used_regs_combine (x) /* Recursively scan the operands of this expression. */ { - register const char *fmt = GET_RTX_FORMAT (code); + const char *fmt = GET_RTX_FORMAT (code); for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--) { @@ -11647,7 +11647,7 @@ mark_used_regs_combine (x) mark_used_regs_combine (XEXP (x, i)); else if (fmt[i] == 'E') { - register int j; + int j; for (j = 0; j < XVECLEN (x, i); j++) mark_used_regs_combine (XVECEXP (x, i, j)); @@ -11665,7 +11665,7 @@ remove_death (regno, insn) unsigned int regno; rtx insn; { - register rtx note = find_regno_note (insn, REG_DEAD, regno); + rtx note = find_regno_note (insn, REG_DEAD, regno); if (note) { @@ -11694,15 +11694,15 @@ move_deaths (x, maybe_kill_insn, from_cuid, to_insn, pnotes) rtx to_insn; rtx *pnotes; { - register const char *fmt; - register int len, i; - register enum rtx_code code = GET_CODE (x); + const char *fmt; + int len, i; + enum rtx_code code = GET_CODE (x); if (code == REG) { unsigned int regno = REGNO (x); - register rtx where_dead = reg_last_death[regno]; - register rtx before_dead, after_dead; + rtx where_dead = reg_last_death[regno]; + rtx before_dead, after_dead; /* Don't move the register if it gets killed in between from and to */ if (maybe_kill_insn && reg_set_p (x, maybe_kill_insn) @@ -11846,7 +11846,7 @@ move_deaths (x, maybe_kill_insn, from_cuid, to_insn, pnotes) { if (fmt[i] == 'E') { - register int j; + int j; for (j = XVECLEN (x, i) - 1; j >= 0; j--) move_deaths (XVECEXP (x, i, j), maybe_kill_insn, from_cuid, to_insn, pnotes); |