regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its PATTERN.
* regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its PATTERN. From-SVN: r20868
This commit is contained in:
parent
aac5cc1620
commit
8543c01e3b
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jul 1 17:23:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before
|
||||
using its PATTERN.
|
||||
|
||||
Wed Jul 1 05:04:41 1998 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* expr.c (emit_group_load, emit_group_store): Rewrite considering
|
||||
|
|
|
@ -805,6 +805,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)))
|
||||
{
|
||||
try_auto_increment (p, insn, 0, dst, newconst, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue