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/varasm.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/varasm.c')
-rw-r--r-- | gcc/varasm.c | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 80c665f..3123875 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1477,7 +1477,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data) int at_end ATTRIBUTE_UNUSED; int dont_output_data; { - register const char *name; + const char *name; unsigned int align; int reloc = 0; rtx decl_rtl; @@ -2170,7 +2170,7 @@ immed_double_const (i0, i1, mode) HOST_WIDE_INT i0, i1; enum machine_mode mode; { - register rtx r; + rtx r; if (GET_MODE_CLASS (mode) == MODE_INT || GET_MODE_CLASS (mode) == MODE_PARTIAL_INT) @@ -2262,7 +2262,7 @@ immed_real_const_1 (d, mode) enum machine_mode mode; { union real_extract u; - register rtx r; + rtx r; /* Get the desired `double' value as a sequence of ints since that is how they are stored in a CONST_DOUBLE. */ @@ -2343,7 +2343,7 @@ immed_real_const (exp) void clear_const_double_mem () { - register rtx r, next; + rtx r, next; enum machine_mode mode; int i; @@ -2381,9 +2381,9 @@ decode_addr_const (exp, value) tree exp; struct addr_const *value; { - register tree target = TREE_OPERAND (exp, 0); - register int offset = 0; - register rtx x; + tree target = TREE_OPERAND (exp, 0); + int offset = 0; + rtx x; while (1) { @@ -2564,9 +2564,9 @@ static int const_hash (exp) tree exp; { - register const char *p; - register int len, hi, i; - register enum tree_code code = TREE_CODE (exp); + const char *p; + int len, hi, i; + enum tree_code code = TREE_CODE (exp); /* Either set P and LEN to the address and len of something to hash and exit the switch or return a value. */ @@ -2605,7 +2605,7 @@ const_hash (exp) } else { - register tree link; + tree link; /* For record type, include the type in the hashing. We do not do so for array types @@ -2702,9 +2702,9 @@ compare_constant_1 (exp, p) tree exp; const unsigned char *p; { - register const unsigned char *strp; - register int len; - register enum tree_code code = TREE_CODE (exp); + const unsigned char *strp; + int len; + enum tree_code code = TREE_CODE (exp); if (code != (enum tree_code) *p++) return 0; @@ -2771,7 +2771,7 @@ compare_constant_1 (exp, p) } else { - register tree link; + tree link; int length = list_length (CONSTRUCTOR_ELTS (exp)); tree type; enum machine_mode mode = TYPE_MODE (TREE_TYPE (exp)); @@ -2957,9 +2957,9 @@ static void record_constant_1 (exp) tree exp; { - register const unsigned char *strp; - register int len; - register enum tree_code code = TREE_CODE (exp); + const unsigned char *strp; + int len; + enum tree_code code = TREE_CODE (exp); obstack_1grow (&permanent_obstack, (unsigned int) code); @@ -3006,7 +3006,7 @@ record_constant_1 (exp) } else { - register tree link; + tree link; int length = list_length (CONSTRUCTOR_ELTS (exp)); enum machine_mode mode = TYPE_MODE (TREE_TYPE (exp)); tree type; @@ -3276,8 +3276,8 @@ output_constant_def (exp, defer) tree exp; int defer; { - register int hash; - register struct constant_descriptor *desc; + int hash; + struct constant_descriptor *desc; struct deferred_string **defstr; char label[256]; int reloc; @@ -3705,8 +3705,8 @@ const_hash_rtx (mode, x) enum machine_mode mode; rtx x; { - register int hi; - register size_t i; + int hi; + size_t i; struct rtx_const value; decode_rtx_const (mode, x, &value); @@ -3730,9 +3730,9 @@ compare_constant_rtx (mode, x, desc) rtx x; struct constant_descriptor *desc; { - register int *p = (int *) desc->u.contents; - register int *strp; - register int len; + int *p = (int *) desc->u.contents; + int *strp; + int len; struct rtx_const value; decode_rtx_const (mode, x, &value); @@ -3773,8 +3773,8 @@ force_const_mem (mode, x) enum machine_mode mode; rtx x; { - register int hash; - register struct constant_descriptor *desc; + int hash; + struct constant_descriptor *desc; char label[256]; const char *found = 0; rtx def; @@ -3807,7 +3807,7 @@ force_const_mem (mode, x) if (found == 0) { - register struct pool_constant *pool; + struct pool_constant *pool; int align; /* No constant equal to X is known to have been output. @@ -4081,7 +4081,7 @@ output_constant_pool (fnname, fndecl) static void mark_constant_pool () { - register rtx insn; + rtx insn; struct pool_constant *pool; if (first_pool == 0 && htab_elements (const_str_htab) == 0) @@ -4110,8 +4110,8 @@ static void mark_constants (x) rtx x; { - register int i; - register const char *format_ptr; + int i; + const char *format_ptr; if (x == 0) return; @@ -4148,7 +4148,7 @@ mark_constants (x) case 'E': if (XVEC (x, i) != 0) { - register int j; + int j; for (j = 0; j < XVECLEN (x, i); j++) mark_constants (XVECEXP (x, i, j)); @@ -4238,7 +4238,7 @@ output_addressed_constants (exp) { case ADDR_EXPR: { - register tree constant = TREE_OPERAND (exp, 0); + tree constant = TREE_OPERAND (exp, 0); while (TREE_CODE (constant) == COMPONENT_REF) { @@ -4268,7 +4268,7 @@ output_addressed_constants (exp) case CONSTRUCTOR: { - register tree link; + tree link; for (link = CONSTRUCTOR_ELTS (exp); link; link = TREE_CHAIN (link)) if (TREE_VALUE (link) != 0) reloc |= output_addressed_constants (TREE_VALUE (link)); @@ -4476,7 +4476,7 @@ output_constant (exp, size, align) int size; unsigned int align; { - register enum tree_code code = TREE_CODE (TREE_TYPE (exp)); + enum tree_code code = TREE_CODE (TREE_TYPE (exp)); /* Some front-ends use constants other than the standard language-indepdent varieties, but which may still be output @@ -4672,14 +4672,14 @@ output_constructor (exp, size, align) unsigned int align; { tree type = TREE_TYPE (exp); - register tree link, field = 0; + tree link, field = 0; tree min_index = 0; /* Number of bytes output or skipped so far. In other words, current position within the constructor. */ HOST_WIDE_INT total_bytes = 0; /* Non-zero means BYTE contains part of a byte, to be output. */ int byte_buffer_in_use = 0; - register int byte = 0; + int byte = 0; if (HOST_BITS_PER_WIDE_INT < BITS_PER_UNIT) abort (); |