From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97B263857004; Mon, 12 Sep 2022 15:30:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97B263857004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662996610; bh=JGb3dkZYqA1ecwnkJptHkAVkUMHrwHyT/3S2Q5NqwjI=; h=From:To:Subject:Date:From; b=ieBbEVGy2Bf1nGkqtFxOcVS17B65bQfk9x1VNoWSTybjDv9P6r/loju4jrqV7dnu8 jBsMxiyYsDJia2fWOqZLYICeSUsqkIv9dr0pEOkN+JXKcg2Hmw0Khwq+fgtdDHBy8q LrbTyBIQQ/U/e8B/Z5W3HF+rKi3TPmx9B8AR0nc0= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106909] New: error: control flow in the middle of basic block Date: Mon, 12 Sep 2022 15:30:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106909 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=3D53563&action=3Dedit 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.=