This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] PR56798 (committed)


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.

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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]