From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3AA3A3858CDB; Mon, 5 Feb 2024 11:47:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AA3A3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707133624; bh=D1cGMi54wC4IVFOEG199QHy3uDM26iDqkriA7/+ykDo=; h=From:To:Subject:Date:From; b=xLezfOw3rY87Uka0RJui599JeJzBJBsWg4xp9Rj90fDy883E1nNLeLC7i/KMeROu0 0FVkeSP+mzPXjddipYWVw7LtPJ4uOEaO9zmp2GwiY1XvdcjlOZXmcKva2ChTx/9SAn 8Yoq3740Y7HVhgMI5Vy8CFUOFrjcbG4gV1NDugl0= From: "andi-gcc at firstfloor dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/113765] New: autofdo: val-profiler-threads-1.c compilation, error: probability of edge from entry block not initialized Date: Mon, 05 Feb 2024 11:47:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andi-gcc at firstfloor 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113765 Bug ID: 113765 Summary: autofdo: val-profiler-threads-1.c compilation, error: probability of edge from entry block not initialized Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: andi-gcc at firstfloor dot org Target Milestone: --- With recent trunk (019dc63819be) When running the test suite on a Intel system with autofdo installed Executing on host: /home/ak/gcc/obj-full/gcc/xgcc -B/home/ak/gcc/obj-full/g= cc/=20 /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c=20= =20=20 -fdi agnostics-plain-output -O0 -pthread -fprofile-update=3Datomic -fauto-profile=3D/home/ak/gcc/obj-full/gcc/testsuite/gcc20/afdo.val-profile= r-threads-1.gcda -DFOR_AU TOFDO_TESTING -fearly-inlining -dumpbase-ext .x02 -lm -o /home/ak/gcc/obj-full/gcc/testsuite/gcc20/val-profiler-threads-1.x02=20=20= =20 (timeout =3D 300) spawn -ignore SIGHUP /home/ak/gcc/obj-full/gcc/xgcc -B/home/ak/gcc/obj-full/gcc/ /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c -f= diag nostics-plain-output -O0 -pthread -fprofile-update=3Datomic -fauto-profile=3D/home/ak/gcc/obj-full/gcc/testsuite/gcc20/afdo.val-profile= r-threads-1.gcda -DFOR_AUTOFD O_TESTING -fearly-inlining -dumpbase-ext .x02 -lm -o /home/ak/gcc/obj-full/gcc/testsuite/gcc20/val-profiler-threads-1.x02 /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c: In function 'copy_memory': /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c:13= :7: error: probability of edge from entry block not initialized /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c:13= :7: error: probability of edge 2->4 not initialized /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c:13= :7: error: probability of edge 5->1 not initialized during GIMPLE pass: fixup_cfg /home/ak/gcc/gcc/gcc/testsuite/gcc.dg/tree-prof/val-profiler-threads-1.c:13= :7: internal compiler error: verify_flow_info failed 0xafb91e verify_flow_info() ../../gcc/gcc/cfghooks.cc:287 0xf0e8a7 execute_function_todo ../../gcc/gcc/passes.cc:2100 0xf0edde execute_todo ../../gcc/gcc/passes.cc:2142 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. compiler exited with status 1 I'm not attaching the source because it also needs the autofdo gcov file to reproduce and the test case is already in tree.=