diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-04-07 23:07:06 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-04-07 17:07:06 -0600 |
commit | 47cf37f924571be13c4d4a911acafc9363daf9c0 (patch) | |
tree | 10383f39e505fddd7e5828eb29ff34a3d902f032 /gcc/config/h8300 | |
parent | a45f333130536a0dcfb468a6b49e6e81c5fab882 (diff) | |
download | gcc-47cf37f924571be13c4d4a911acafc9363daf9c0.zip gcc-47cf37f924571be13c4d4a911acafc9363daf9c0.tar.gz gcc-47cf37f924571be13c4d4a911acafc9363daf9c0.tar.bz2 |
h8300.c (h8300_adjust_insn_length): Avoid trying to recognize USE, CLOBBER or SEQUENCE insns.
* h8300.c (h8300_adjust_insn_length): Avoid trying to recognize
USE, CLOBBER or SEQUENCE insns.
* unroll.c (unroll_loop): For HAVE_cc0 machines, adjust copy_end_luid
to account for the uncopied insn that sets cc0 at the end of the loop.
From-SVN: r26283
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r-- | gcc/config/h8300/h8300.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index eb5d418..b181ae0 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -3033,6 +3033,12 @@ h8300_adjust_insn_length (insn, length) { rtx pat; + /* 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) + return 0; + if (get_attr_adjust_length (insn) == ADJUST_LENGTH_NO) return 0; |