From b36948478c22c58018d0a888ee8ca393dea60dc9 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 11 Oct 2001 03:16:15 +0000 Subject: alias.c: Remove uses of "register" specifier in declarations of arguments and local... 2001-10-10 Stan Shebs * 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 --- gcc/rtl.c | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) (limited to 'gcc/rtl.c') diff --git a/gcc/rtl.c b/gcc/rtl.c index bd4d6fa..bcf3005 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -330,12 +330,12 @@ rtx_alloc (code) rtx copy_rtx (orig) - register rtx orig; + rtx orig; { - register rtx copy; - register int i, j; - register RTX_CODE code; - register const char *format_ptr; + rtx copy; + int i, j; + RTX_CODE code; + const char *format_ptr; code = GET_CODE (orig); @@ -435,13 +435,13 @@ copy_rtx (orig) rtx copy_most_rtx (orig, may_share) - register rtx orig; - register rtx may_share; + rtx orig; + rtx may_share; { - register rtx copy; - register int i, j; - register RTX_CODE code; - register const char *format_ptr; + rtx copy; + int i, j; + RTX_CODE code; + const char *format_ptr; if (orig == may_share) return orig; @@ -534,9 +534,9 @@ rtx shallow_copy_rtx (orig) rtx orig; { - register int i; - register RTX_CODE code = GET_CODE (orig); - register rtx copy = rtx_alloc (code); + int i; + RTX_CODE code = GET_CODE (orig); + rtx copy = rtx_alloc (code); PUT_MODE (copy, GET_MODE (orig)); copy->in_struct = orig->in_struct; @@ -564,10 +564,10 @@ int rtx_equal_p (x, y) rtx x, y; { - register int i; - register int j; - register enum rtx_code code; - register const char *fmt; + int i; + int j; + enum rtx_code code; + const char *fmt; if (x == y) return 1; @@ -589,10 +589,11 @@ rtx_equal_p (x, y) switch (code) { case REG: - /* Until rtl generation is complete, don't consider a reference to the - return register of the current function the same as the return from a - called function. This eases the job of function integration. Once the - distinction is no longer needed, they can be considered equivalent. */ + /* Until rtl generation is complete, don't consider a reference + to the return register of the current function the same as + the return from a called function. This eases the job of + function integration. Once the distinction is no longer + needed, they can be considered equivalent. */ return (REGNO (x) == REGNO (y) && (! rtx_equal_function_value_matters || REG_FUNCTION_VALUE_P (x) == REG_FUNCTION_VALUE_P (y))); -- cgit v1.1