mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 14:24:43 +08:00
reload1.c (elimination_effects): Fix typo in recent change.
* reload1.c (elimination_effects): Fix typo in recent change. From-SVN: r171788
This commit is contained in:
parent
f52d97dada
commit
10c519833f
@ -8,6 +8,8 @@
|
||||
|
||||
2011-03-31 Jeff Law <law@redhat.com>
|
||||
|
||||
* reload1.c (elimination_effects): Fix typo in recent change.
|
||||
|
||||
* tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid
|
||||
typo potentially leading to null pointer dereference.
|
||||
|
||||
|
@ -2997,7 +2997,7 @@ elimination_effects (rtx x, enum machine_mode mem_mode)
|
||||
|
||||
}
|
||||
else if (reg_renumber[regno] < 0
|
||||
&& reg_equiv_constant (0)
|
||||
&& reg_equivs != 0
|
||||
&& reg_equiv_constant (regno)
|
||||
&& ! function_invariant_p (reg_equiv_constant (regno)))
|
||||
elimination_effects (reg_equiv_constant (regno), mem_mode);
|
||||
|
Loading…
Reference in New Issue
Block a user