Commit 10c51983 by Jeff Law Committed by Jeff Law

reload1.c (elimination_effects): Fix typo in recent change.

	* reload1.c (elimination_effects): Fix typo in recent change.

From-SVN: r171788
parent f52d97da
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
2011-03-31 Jeff Law <law@redhat.com> 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 * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid
typo potentially leading to null pointer dereference. typo potentially leading to null pointer dereference.
......
...@@ -2997,7 +2997,7 @@ elimination_effects (rtx x, enum machine_mode mem_mode) ...@@ -2997,7 +2997,7 @@ elimination_effects (rtx x, enum machine_mode mem_mode)
} }
else if (reg_renumber[regno] < 0 else if (reg_renumber[regno] < 0
&& reg_equiv_constant (0) && reg_equivs != 0
&& reg_equiv_constant (regno) && reg_equiv_constant (regno)
&& ! function_invariant_p (reg_equiv_constant (regno))) && ! function_invariant_p (reg_equiv_constant (regno)))
elimination_effects (reg_equiv_constant (regno), mem_mode); elimination_effects (reg_equiv_constant (regno), mem_mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment