diff options
author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-26 00:38:05 +0000 |
---|---|---|
committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-26 00:38:05 +0000 |
commit | e85905e5417217a3e6d608e80a944f7ff25ca1ae (patch) | |
tree | b7381c551208f9e8237f512d0342d34a886d0c9a /gcc/gensupport.c | |
parent | ec03958b5012f2f281a79e93e402f06f4b19b840 (diff) | |
download | gcc-e85905e5417217a3e6d608e80a944f7ff25ca1ae.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85175 138bc75d-0d04-0410-961f-82ee72b054a4
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 d253378f522..37535d18a5d 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; } |