Commit e27a5106 by Jeffrey A Law Committed by Jeff Law

regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p on notes.

        * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
        on notes.

From-SVN: r21830
parent e368d5b3
...@@ -5,6 +5,9 @@ Tue Aug 18 12:40:27 1998 Richard Henderson <rth@cygnus.com> ...@@ -5,6 +5,9 @@ Tue Aug 18 12:40:27 1998 Richard Henderson <rth@cygnus.com>
Tue Aug 18 10:33:30 1998 Jeffrey A Law (law@cygnus.com) Tue Aug 18 10:33:30 1998 Jeffrey A Law (law@cygnus.com)
* regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
on notes.
* Makefile.in (cplus-dem.o): Provide explicit rules for building * Makefile.in (cplus-dem.o): Provide explicit rules for building
cplus-dem.o cplus-dem.o
......
...@@ -823,6 +823,8 @@ fixup_match_2 (insn, dst, src, offset, regmove_dump_file) ...@@ -823,6 +823,8 @@ fixup_match_2 (insn, dst, src, offset, regmove_dump_file)
&& (NOTE_LINE_NUMBER (p) == NOTE_INSN_LOOP_BEG && (NOTE_LINE_NUMBER (p) == NOTE_INSN_LOOP_BEG
|| NOTE_LINE_NUMBER (p) == NOTE_INSN_LOOP_END))) || NOTE_LINE_NUMBER (p) == NOTE_INSN_LOOP_END)))
break; break;
if (GET_RTX_CLASS (GET_CODE (p)) != 'i')
continue;
if (reg_overlap_mentioned_p (dst, PATTERN (p))) if (reg_overlap_mentioned_p (dst, PATTERN (p)))
{ {
if (try_auto_increment (p, insn, 0, dst, newconst, 0)) if (try_auto_increment (p, insn, 0, dst, newconst, 0))
......
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