aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-20 02:47:28 +0000
committerRichard Stallman <rms@gnu.org>1992-05-20 02:47:28 +0000
commit450446554518c3fb2b8aa64b41f8a11e9aca554b (patch)
treeca5be7636080e37eb44ee4ba4211cc6285a5306e /gcc/genattrtab.c
parent29008b51e3d245628fc8d3b998bf20af51aefee7 (diff)
downloadgcc-450446554518c3fb2b8aa64b41f8a11e9aca554b.zip
gcc-450446554518c3fb2b8aa64b41f8a11e9aca554b.tar.gz
gcc-450446554518c3fb2b8aa64b41f8a11e9aca554b.tar.bz2
*** empty log message ***
From-SVN: r1026
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index ffd728d..870635c 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -2263,7 +2263,8 @@ evaluate_eq_attr (exp, value, insn_code, insn_index)
if (address_used)
{
- if (! RTX_UNCHANGING_P (exp) && current_alternative_string)
+ /* This had `&& current_alternative_string', which seems to be wrong. */
+ if (! RTX_UNCHANGING_P (exp))
return copy_rtx_unchanging (exp);
return exp;
}
@@ -2768,7 +2769,7 @@ simplify_test_exp (exp, insn_code, insn_index)
/* We have already simplified this expression. Simplifying it again
won't buy anything unless we weren't given a valid insn code
to process (i.e., we are canonicalizing something.). */
- if (insn_code != -2 && current_alternative_string
+ if (insn_code != -2 /* Seems wrong: && current_alternative_string. */
&& ! RTX_UNCHANGING_P (newexp))
return copy_rtx_unchanging (newexp);