Commit c61dfa63 by Denis Chertykov Committed by Denis Chertykov

avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.

	* config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.

From-SVN: r210035
parent 6855e17c
2014-05-03 Denis Chertykov <chertykov@gmail.com>
* config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
......
......@@ -7776,8 +7776,8 @@ avr_adjust_insn_length (rtx insn, int len)
the length need not/must not be adjusted for these insns.
It is easier to state this in an insn attribute "adjust_len" than
to clutter up code here... */
if (-1 == recog_memoized (insn))
if (JUMP_TABLE_DATA_P (insn) || recog_memoized (insn) == -1)
{
return len;
}
......
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