PR rtl-optimization/44691
* sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG
is not a register.
From-SVN: r163369
+2010-08-19 Andrey Belevantsev <abel@ispras.ru>
+
+ PR rtl-optimization/44691
+ * sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG
+ is not a register.
+
2010-08-19 Ian Bolton <ian.bolton@arm.com>
PR target/45070
if (GET_CODE (*cur_rtx) == SUBREG
&& REG_P (p->x)
- && REGNO (SUBREG_REG (*cur_rtx)) == REGNO (p->x))
+ && (!REG_P (SUBREG_REG (*cur_rtx))
+ || REGNO (SUBREG_REG (*cur_rtx)) == REGNO (p->x)))
{
/* ??? Do not support substituting regs inside subregs. In that case,
simplify_subreg will be called by validate_replace_rtx, and