h8300.c (h8300_adjust_insn_length): Also avoid recognizing ADDR_VEC and ADDR_DIFF_VEC insns.

* h8300.c (h8300_adjust_insn_length): Also avoid recognizing
        ADDR_VEC and ADDR_DIFF_VEC insns.

From-SVN: r26285
This commit is contained in:
Jeffrey A Law 1999-04-07 23:17:52 +00:00 committed by Jeff Law
parent 1eaa8ab08f
commit 098f2a1e95
2 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,9 @@ Tue Apr 6 17:49:49 1999 Philip Blundell <pb@nexus.co.uk>
Wed Apr 7 14:07:34 1999 Jeffrey A Law (law@cygnus.com)
* h8300.c (h8300_adjust_insn_length): Also avoid recognizing
ADDR_VEC and ADDR_DIFF_VEC insns.
* h8300.c (h8300_adjust_insn_length): Avoid trying to recognize
USE, CLOBBER or SEQUENCE insns.

View File

@ -3036,7 +3036,9 @@ h8300_adjust_insn_length (insn, length)
/* We must filter these ou before calling get_attr_adjust_length. */
if (GET_CODE (PATTERN (insn)) == USE
|| GET_CODE (PATTERN (insn)) == CLOBBER
|| GET_CODE (PATTERN (insn)) == SEQUENCE)
|| GET_CODE (PATTERN (insn)) == SEQUENCE
|| GET_CODE (PATTERN (insn)) == ADDR_VEC
|| GET_CODE (PATTERN (insn)) == ADDR_DIFF_VEC)
return 0;
if (get_attr_adjust_length (insn) == ADJUST_LENGTH_NO)