diff options
author | Bernardo Innocenti <bernie@develer.com> | 2004-07-26 02:38:05 +0200 |
---|---|---|
committer | Bernardo Innocenti <bernie@gcc.gnu.org> | 2004-07-26 02:38:05 +0200 |
commit | 1ad463f4932ebb6224f1155bced2dda6aedd686f (patch) | |
tree | b7381c551208f9e8237f512d0342d34a886d0c9a /gcc/gensupport.c | |
parent | f408614568706ffddfbdfc7a947bb2f39a99d23a (diff) | |
download | gcc-1ad463f4932ebb6224f1155bced2dda6aedd686f.zip gcc-1ad463f4932ebb6224f1155bced2dda6aedd686f.tar.gz gcc-1ad463f4932ebb6224f1155bced2dda6aedd686f.tar.bz2 |
c-common.c (disable_builtin_function): Rename variable n to new_disabled_builtin.
* c-common.c (disable_builtin_function): Rename variable n to
new_disabled_builtin.
* c-decl.c (duplicate_decls): Rename parameter decl to new_decl.
Rename local variable old to old_decl.
* gensupport.c (shift_output_template): Rename parameter old to src.
* simplify-rtx.c (simplify_replace_rtx): Rename parameter oldx to
old_rtx and newx to new_rtx.
From-SVN: r85175
Diffstat (limited to 'gcc/gensupport.c')
-rw-r--r-- | gcc/gensupport.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c index d253378..37535d1 100644 --- a/gcc/gensupport.c +++ b/gcc/gensupport.c @@ -670,26 +670,26 @@ alter_test_for_insn (struct queue_elem *ce_elem, return concat ("(", ce_test, ") && (", insn_test, ")", NULL); } -/* Adjust all of the operand numbers in OLD to match the shift they'll +/* Adjust all of the operand numbers in SRC to match the shift they'll get from an operand displacement of DISP. Return a pointer after the adjusted string. */ static char * -shift_output_template (char *dest, const char *old, int disp) +shift_output_template (char *dest, const char *src, int disp) { - while (*old) + while (*src) { - char c = *old++; + char c = *src++; *dest++ = c; if (c == '%') { - c = *old++; + c = *src++; if (ISDIGIT ((unsigned char) c)) c += disp; else if (ISALPHA (c)) { *dest++ = c; - c = *old++ + disp; + c = *src++ + disp; } *dest++ = c; } |