diff options
author | Andy Hutchinson <hutchinsonamdy@aim.com> | 2008-04-02 09:56:17 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2008-04-02 09:56:17 +0000 |
commit | 4fefbcdbe559d35de023ef4456ffbacba9bc37ad (patch) | |
tree | 4feb3aa9eefe13bed390579563697b060ef0ae3e /gcc/fwprop.c | |
parent | 460d667de96a60d8dc0caad68a41422d165a5619 (diff) | |
download | gcc-4fefbcdbe559d35de023ef4456ffbacba9bc37ad.zip gcc-4fefbcdbe559d35de023ef4456ffbacba9bc37ad.tar.gz gcc-4fefbcdbe559d35de023ef4456ffbacba9bc37ad.tar.bz2 |
re PR rtl-optimization/35542 (fwprop only propagates one operand)
2008-04-02 Andy Hutchinson <hutchinsonamdy@aim.com>
PR rtl-optimization/35542
* fwprop.c (forward_propagate_and_simplify): Replace
loc_reg_mentioned_in_p with reg_mentioned_p.
From-SVN: r133829
Diffstat (limited to 'gcc/fwprop.c')
-rw-r--r-- | gcc/fwprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fwprop.c b/gcc/fwprop.c index 2566cbb..4d97c9c 100644 --- a/gcc/fwprop.c +++ b/gcc/fwprop.c @@ -967,7 +967,7 @@ forward_propagate_into (struct df_ref *use) else parent = PATTERN (use_insn); - if (!loc_mentioned_in_p (DF_REF_LOC (use), parent)) + if (!reg_mentioned_p (DF_REF_REG (use), parent)) return; def_insn = DF_REF_INSN (def); |