PR56798 (committed)

Submitted by Steven Bosscher on April 1, 2013, 3:51 p.m.

Details

Message ID CABu31nM6Fv8KV_Kw7+fHQv3FEukJM0b7ZdcV2T9s_o6Ma+LJ0A@mail.gmail.com
State New
Headers show

Commit Message

Steven Bosscher April 1, 2013, 3:51 p.m.
Fix an error I made in one of the non-mechanical changes of r197234.

        PR middle-end/56798
        * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234.

Patch hide | download patch | download mbox

Index: cfgbuild.c
===================================================================
--- cfgbuild.c  (revision 197267)
+++ cfgbuild.c  (working copy)
@@ -51,7 +51,7 @@  inside_basic_block_p (const_rtx insn)
     case CODE_LABEL:
       /* Avoid creating of basic block for jumptables.  */
       return (NEXT_INSN (insn) == 0
-             || ! JUMP_TABLE_DATA_P (insn));
+             || ! JUMP_TABLE_DATA_P (NEXT_INSN (insn)));

     case JUMP_INSN:
     case CALL_INSN: