diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-08-18 17:14:34 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-08-18 11:14:34 -0600 |
commit | e27a51061835b998d7baa5e7fae34172dfae3f64 (patch) | |
tree | c04b4fdc3347d8ac0f8d76841904c0c3296b9e48 /gcc | |
parent | e368d5b332dbf0c9c83ae5459c167821cb22472c (diff) | |
download | gcc-e27a51061835b998d7baa5e7fae34172dfae3f64.zip gcc-e27a51061835b998d7baa5e7fae34172dfae3f64.tar.gz gcc-e27a51061835b998d7baa5e7fae34172dfae3f64.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/regmove.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82eccb9..c17374e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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) + * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p + on notes. + * Makefile.in (cplus-dem.o): Provide explicit rules for building cplus-dem.o diff --git a/gcc/regmove.c b/gcc/regmove.c index 8786553..ba78411 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -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_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)) |