Patchwork [mips] Fix for PR target/56942

login
register
mail settings
Submitter Steve Ellcey
Date June 10, 2013, 4:03 p.m.
Message ID <1C0E790D7E4C75418622FD04CC2A117201F92705@BADAG02.ba.imgtec.org>
Download mbox | patch
Permalink /patch/250265/
State New
Headers show

Comments

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

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
sellcey@mips.com

Patch

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)