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

            Bug ID: 106909
           Summary: error: control flow in the middle of basic block
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 53563
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53563&action=edit
C++ source code

The attached legal C++ code does this:

$ ../results/bin/g++ -c -g -O2 -w bug847.cc
/home/dcb36/rpmbuild/BUILD/capnproto-c++-0.9.1/src/capnp/../kj/parse/common.h:727:7:
error: control flow in the middle of basic block 23
  727 |       operator()(Input& input) const {
      |       ^~~~~~~~
/home/dcb36/rpmbuild/BUILD/capnproto-c++-0.9.1/src/capnp/../kj/parse/common.h:727:7:
internal compiler error: verify_flow_info failed
0xb264bb verify_flow_info()
        ../../trunk.git/gcc/cfghooks.cc:284
0x109fc1b checking_verify_flow_info()
        ../../trunk.git/gcc/cfghooks.h:214

I will have a go at identifying a git range.

Reply via email to