Committed patch.

2014-05-03  Denis Chertykov  <cherty...@gmail.com>

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


Index: gcc/config/avr/avr.c
===================================================================
--- gcc/config/avr/avr.c (revision 210034)
+++ gcc/config/avr/avr.c (working copy)
@@ -7776,8 +7776,8 @@
      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;
     }

Reply via email to