From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 359B4389682C; Tue, 9 Feb 2021 17:41:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 359B4389682C From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99034] New: [10/11 Regression] ICE in emit_to_new_bb_before, at except.c:932 Date: Tue, 09 Feb 2021 17:41:50 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2021 17:41:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99034 Bug ID: 99034 Summary: [10/11 Regression] ICE in emit_to_new_bb_before, at except.c:932 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- This changed between 20190929 and 20191006 at -O2+ : $ g++-10-20190929 -c pr90208-2.c -finstrument-functions -O2 $ $ g++-11-20210207 -c pr90208-2.c -finstrument-functions -O2 during RTL pass: expand pr90208-2.c: In function 'void baz()': pr90208-2.c:20:1: internal compiler error: Segmentation fault 20 | } | ^ 0xcd922f crash_signal ../../gcc/toplev.c:327 0x9bd1e6 emit_to_new_bb_before ../../gcc/except.c:932 0x9c185a dw2_build_landing_pads ../../gcc/except.c:1013 0x9c185a finish_eh_generation() ../../gcc/except.c:1521 0x8e2e7d execute ../../gcc/cfgexpand.c:6837 --- pr90208-2.c: In function 'void baz()': pr90208-2.c:16:1: error: EH landing pad label 16 | baz (void) | ^~~ is not first in a sequence of labels in bb 5during IPA pass: inline pr90208-2.c:16:1: internal compiler error: verify_flow_info failed 0xae3ac4 verify_flow_info() ../../gcc/cfghooks.c:269 0x1046ba4 checking_verify_flow_info ../../gcc/cfghooks.h:212 0x1046ba4 cleanup_tree_cfg_noloop ../../gcc/tree-cfgcleanup.c:1136 0x1046ba4 cleanup_tree_cfg(unsigned int) ../../gcc/tree-cfgcleanup.c:1187 0xef8a44 execute_function_todo ../../gcc/passes.c:2008 0xef97f2 execute_todo ../../gcc/passes.c:2096 0xefba43 execute_one_ipa_transform_pass ../../gcc/passes.c:2293 0xefba43 execute_all_ipa_transforms(bool) ../../gcc/passes.c:2337 0xb22995 cgraph_node::expand() ../../gcc/cgraphunit.c:1820 0xb24316 expand_all_functions ../../gcc/cgraphunit.c:1995 0xb24316 symbol_table::compile() ../../gcc/cgraphunit.c:2359 0xb2784f symbol_table::compile() ../../gcc/cgraphunit.c:2543 0xb2784f symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2540=