From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 415E63858C83; Mon, 27 Mar 2023 18:59:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 415E63858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679943549; bh=SXrCN/aKKz+WwghOCr/NtvtjJBiLzdtPr9FoR1xpp/k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T/GEzsfGsJg9iOkIcxF2am0CjH7Nj/MMa3FXkVCsxlwJGZyaetPbq6DEHbMmQv1q+ zPV7TcYcqyVT8OEz1cX+myViSggX8zFkr+5mdU63G9ZQ/tdJ8mdrmTiAinx3rf0e1q 4zbap+K6v9UOOMei65M6Fz66BWhwKw8CfLLvPoPQ= From: "sam at gentoo dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109304] ICE when building Python 3.12.0_alpha6 (internal compiler error: in get_vrange, at value-range-storage.cc:87) Date: Mon, 27 Mar 2023 18:59:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org 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: attachments.created Message-ID: In-Reply-To: References: 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=3D109304 --- Comment #1 from Sam James --- Created attachment 54772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54772&action=3Dedit reduced.i ``` $ x86_64-pc-linux-gnu-gcc -c /tmp/reduced.i -fprofile-generate -O3 -fno-semantic-interposition -fPIC /tmp/reduced.i:1:1: warning: data definition has no type or storage class 1 | PyUnicode_FindChar_i; | ^~~~~~~~~~~~~~~~~~~~ /tmp/reduced.i:1:1: warning: type defaults to =E2=80=98int=E2=80=99 in decl= aration of =E2=80=98PyUnicode_FindChar_i=E2=80=99 [-Wimplicit-int] /tmp/reduced.i:2:1: warning: return type defaults to =E2=80=98int=E2=80=99 = [-Wimplicit-int] 2 | PyUnicode_FindChar() { | ^~~~~~~~~~~~~~~~~~ during GIMPLE pass: unswitch /tmp/reduced.i: In function =E2=80=98PyUnicode_FindChar=E2=80=99: /tmp/reduced.i:2:1: internal compiler error: in get_vrange, at value-range-storage.cc:87 0x828a6f vrange_storage::get_vrange(void const*, vrange&, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/value-r= ange-storage.cc:87 0x828a6f vrange_storage::get_vrange(void const*, vrange&, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/value-r= ange-storage.cc:72 0x828a6f range_info_get_range(tree_node*, vrange&) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= anames.cc:121 0x828a6f duplicate_ssa_name_range_info(tree_node*, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= anames.cc:750 0x15ca96a duplicate_ssa_name_fn(function*, tree_node*, gimple*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= anames.cc:771 0x15ca96a duplicate_ssa_name(tree_node*, gimple*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= anames.h:115 0x15ca96a create_new_def_for(tree_node*, gimple*, tree_node**) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-in= to-ssa.cc:3091 0x15c96cd gimple_duplicate_bb =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-cf= g.cc:6555 0x15c8cd5 duplicate_block(basic_block_def*, edge_def*, basic_block_def*, copy_bb_data*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/cfghook= s.cc:1117 0x15c842e copy_bbs(basic_block_def**, unsigned int, basic_block_def**, edge_def**, unsigned int, edge_def**, loop*, basic_block_def*, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/cfghook= s.cc:1382 0x15fe319 duplicate_loop_body_to_header_edge(loop*, edge_def*, unsigned int, simple_bitmap_def*, edge_def*, vec*, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/cfgloop= manip.cc:1235 0x15fdc4b gimple_duplicate_loop_body_to_header_edge(loop*, edge_def*, unsig= ned int, simple_bitmap_def*, edge_def*, vec*, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= a-loop-manip.cc:861 0x175c533 loop_version(loop*, void*, basic_block_def**, profile_probability, profile_probability, profile_probability, profile_probability, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/cfgloop= manip.cc:1630 0xcf6c7b tree_unswitch_loop =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= a-loop-unswitch.cc:1117 0xcf6c7b tree_unswitch_single_loop =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= a-loop-unswitch.cc:1055 0xcf85ed tree_ssa_unswitch_loops(function*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-13.0.1_pre20230326/gcc-13-20230326/gcc/tree-ss= a-loop-unswitch.cc:385 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ```=