Patchwork PR56798 (committed)

login
register
mail settings
Submitter Steven Bosscher
Date April 1, 2013, 3:51 p.m.
Message ID <CABu31nM6Fv8KV_Kw7+fHQv3FEukJM0b7ZdcV2T9s_o6Ma+LJ0A@mail.gmail.com>
Download mbox | patch
Permalink /patch/232769/
State New
Headers show

Comments

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

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: