Commit f90333eb by Richard Henderson Committed by Richard Henderson

Continue searching in find_oldest_value_reg on class match failure.

From-SVN: r168001
parent fed2b101
2010-12-17 Richard Henderson <rth@redhat.com>
* regcprop.c (find_oldest_value_reg): Continue search instead of
failing if an element in the copy chain is of the wrong regclass.
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
......@@ -457,7 +457,7 @@ find_oldest_value_reg (enum reg_class cl, rtx reg, struct value_data *vd)
rtx new_rtx;
if (!in_hard_reg_set_p (reg_class_contents[cl], mode, i))
return NULL_RTX;
continue;
new_rtx = maybe_mode_change (oldmode, vd->e[regno].mode, mode, i, regno);
if (new_rtx)
......
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