[mips] Fix for PR target/56942

Message ID 1C0E790D7E4C75418622FD04CC2A117201F92705@BADAG02.ba.imgtec.org
State New
Headers show

Commit Message

Steve Ellcey June 10, 2013, 4:03 p.m.

The assert has been in ToT for over a week now and I haven't seen any problems reported.
Is it time to move on to the next step?

Steve Ellcey


Index: rtlanal.c
--- rtlanal.c   (revision 199324)
+++ rtlanal.c   (working copy)
@@ -2711,6 +2711,7 @@  tablejump_p (const_rtx insn, rtx *labelp, rtx *tab
       && (table = next_active_insn (label)) != NULL_RTX
       && JUMP_TABLE_DATA_P (table))
+      gcc_assert (table == NEXT_INSN (label));
       if (labelp)
        *labelp = label;
       if (tablep)