From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 568673858C2C; Sat, 23 Sep 2023 21:42:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 568673858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695505350; bh=PFocH+mXhNf3ImHplYgudkiluJ81dYwnVUpeEm6QA7Y=; h=From:To:Subject:Date:From; b=rndtaNL9srrPICjlDZOL4Eiladr/uH4Mavzop8OGeUd/t9YX0bcRYWVXdihBhOZBV vwvfor5G3Y1FrUbzvIAi4koBKcyihk0ReC4qhN9pIgciPPisJ3OFQeYE7yA3BggEsA cPdFbBtWtmWnWLYpOcsrtKf9FBgugh5GM/ch0mP4= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/111559] New: [14 regression] ICE when building Python with PGO Date: Sat, 23 Sep 2023 21:42:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111559 Bug ID: 111559 Summary: [14 regression] ICE when building Python with PGO Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: arsen at gcc dot gnu.org Target Milestone: --- Unfortunately, Python PGO strikes again. Originally reported downstream at https://bugs.gentoo.org/show_bug.cgi?id=3D914578. ``` gcc-14 -c -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED= =3D1 -DNDEBUG -O2 -pipe -march=3Dnative -fdiagnostics-color=3Dalways -frecord-gcc-switches -Wreturn-type -ggdb3 -fwrapv -fno-semantic-interposit= ion -std=3Dc11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=3Dimplicit-function-declaration -fvisibility=3D= hidden -fprofile-use -fprofile-correction -I./Include/internal -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c Parser/parser.c: In function 'simple_stmt_rule': Parser/parser.c:1706:1: error: probability of edge 613->614 not initialized 1706 | simple_stmt_rule(Parser *p) | ^~~~~~~~~~~~~~~~ Parser/parser.c:1706:1: error: probability of edge 615->621 not initialized during IPA pass: inline Parser/parser.c:1706:1: internal compiler error: verify_flow_info failed 0x55c9cced2153 verify_flow_info() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cfghook= s.cc:287 0x55c9cd4da214 checking_verify_flow_info() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cfghook= s.h:214 0x55c9cd4da214 cleanup_tree_cfg_noloop =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/tree-cf= gcleanup.cc:1154 0x55c9cd4da214 cleanup_tree_cfg(unsigned int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/tree-cf= gcleanup.cc:1205 0x55c9cd330924 execute_function_todo =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/passes.= cc:2057 0x55c9cd330e10 execute_todo =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/passes.= cc:2142 0x55c9cd333bef execute_one_ipa_transform_pass =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/passes.= cc:2336 0x55c9cd333bef execute_all_ipa_transforms(bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/passes.= cc:2396 0x55c9ccf13238 cgraph_node::expand() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cgraphu= nit.cc:1834 0x55c9ccf13238 cgraph_node::expand() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cgraphu= nit.cc:1794 0x55c9ccf141dc expand_all_functions =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cgraphu= nit.cc:2000 0x55c9ccf141dc symbol_table::compile() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cgraphu= nit.cc:2398 0x55c9ccf17a0b symbol_table::compile() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cgraphu= nit.cc:2311 0x55c9ccf17a0b symbol_table::finalize_compilation_unit() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20230917/gcc-14-20230917/gcc/cgraphu= nit.cc:2583 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. make[1]: *** [Makefile:2717: Parser/parser.o] Error 1 ``` I can reproduce it manually, but still with a large reproducer: * wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tar.xz * tar xvf Python-3.11.5.tar.xz * ./configure CC=3Dgcc-14 --enable-optimizations * make -j$(nproc)=