* regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
on notes.
Fixes testsuite regression on the H8.
From-SVN: r21829
Tue Aug 18 10:32:11 1998 Jeffrey A Law (law@cygnus.com)
+ * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
+ on notes.
+
* regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
and REG_LIVE_LENGTH as successful substitutions are made.
&& (NOTE_LINE_NUMBER (p) == NOTE_INSN_LOOP_BEG
|| NOTE_LINE_NUMBER (p) == NOTE_INSN_LOOP_END)))
break;
+ if (GET_RTX_CLASS (GET_CODE (p)) != 'i')
+ continue;
if (reg_overlap_mentioned_p (dst, PATTERN (p)))
{
if (try_auto_increment (p, insn, 0, dst, newconst, 0))