diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2008-07-09 06:45:21 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2008-07-09 06:45:21 +0000 |
commit | 8ad97cfca7405266d280412da3f57800926c5b9d (patch) | |
tree | 6954eaaa696c6bf48cf413495c59ff795a740dc2 /gcc/genattrtab.c | |
parent | 588021c0e8ef99701465aee44d7a18135bc1bbee (diff) | |
download | gcc-8ad97cfca7405266d280412da3f57800926c5b9d.tar.gz |
genattrtab.c (insert_right_side, [...]): Avoid C++ keywords.
* genattrtab.c (insert_right_side, evaluate_eq_attr): Avoid C++
keywords.
* genemit.c (gen_insn): Likewise.
* gengtype.c (note_def_vec): Likewise.
* gengtype.h (note_def_vec): Likewise.
* genoutput.c (struct data, output_insn_data, process_template,
gen_expand, gen_split, note_constraint): Likewise.
* genrecog.c (new_decision, add_to_sequence, factor_tests,
make_insn_sequence): Likewise.
* gensupport.c (record_insn_name): Likewise.
From-SVN: r137653
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 079c81f9552..794a8db1bb1 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -1846,11 +1846,11 @@ insert_right_side (enum rtx_code code, rtx exp, rtx term, int insn_code, int ins if (GET_CODE (exp) == code) { - rtx new = insert_right_side (code, XEXP (exp, 1), - term, insn_code, insn_index); - if (new != XEXP (exp, 1)) + rtx new_rtx = insert_right_side (code, XEXP (exp, 1), + term, insn_code, insn_index); + if (new_rtx != XEXP (exp, 1)) /* Make a copy of this expression and call recursively. */ - newexp = attr_rtx (code, XEXP (exp, 0), new); + newexp = attr_rtx (code, XEXP (exp, 0), new_rtx); else newexp = exp; } @@ -1980,10 +1980,10 @@ evaluate_eq_attr (rtx exp, rtx value, int insn_code, int insn_index) for (i = 0; i < XVECLEN (value, 0); i += 2) { - rtx this = simplify_test_exp_in_temp (XVECEXP (value, 0, i), - insn_code, insn_index); + rtx this_cond = simplify_test_exp_in_temp (XVECEXP (value, 0, i), + insn_code, insn_index); - right = insert_right_side (AND, andexp, this, + right = insert_right_side (AND, andexp, this_cond, insn_code, insn_index); right = insert_right_side (AND, right, evaluate_eq_attr (exp, @@ -1995,7 +1995,7 @@ evaluate_eq_attr (rtx exp, rtx value, int insn_code, int insn_index) insn_code, insn_index); /* Add this condition into the AND expression. */ - newexp = attr_rtx (NOT, this); + newexp = attr_rtx (NOT, this_cond); andexp = insert_right_side (AND, andexp, newexp, insn_code, insn_index); } |