https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87468

            Bug ID: 87468
           Summary: ice "wrong amount of branch edges after conditional
                    jump in bb"
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

This C source code, when compiled by recent gcc trunk and flag -O2, does this:

bug465.c: In function ‘b’:
bug465.c:15:1: error: wrong amount of branch edges after conditional jump in bb
10
15 | }
   | ^
bug465.c:15:1: error: wrong number of branch edges after unconditional jump in
bb 9
during RTL pass: outof_cfglayout
bug465.c:15:1: internal compiler error: verify_flow_info failed
0x8c9c27 verify_flow_info()
        ../../trunk/gcc/cfghooks.c:265
0x8e4711 checking_verify_flow_info
        ../../trunk/gcc/cfghooks.h:198
0x8e4711 cfg_layout_finalize()
        ../../trunk/gcc/cfgrtl.c:4350
0x8e4884 execute
        ../../trunk/gcc/cfgrtl.c:3606

The bug seems to occur somewhere between revisions 264595 and 264662.

Reply via email to