From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D89038460BD; Thu, 4 Apr 2024 00:31:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D89038460BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712190703; bh=nuNA9BgoJz/+v7r6qmy6cN0hGJ9t/+w6HEktZwA4tH8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ThTkVomaBhgOH9NmJuCI/Fx2/daxpyY/rn7NiPWeEIHeWkn5vepkjlw/LQJXIU4Xf +igJZpVgkf2W1jkB+seT7AvYtN7F61/0G+/fmAo6m5UounjX/SjI+TZ+kU9fCEaYEF MN/6QQ8/Zl64Eu/mBxDruxevX9aX0qESL+nWEntM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/113765] [14 Regression] ICE: autofdo: val-profiler-threads-1.c compilation, error: probability of edge from entry block not initialized Date: Thu, 04 Apr 2024 00:31:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: erozen at microsoft dot com X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D113765 --- Comment #8 from GCC Commits --- The master branch has been updated by Eugene Rozenfeld : https://gcc.gnu.org/g:fe385c219994f6d5c1ffe00bcaf5a62c3d18caaf commit r14-9780-gfe385c219994f6d5c1ffe00bcaf5a62c3d18caaf Author: Eugene Rozenfeld Date: Tue Mar 26 16:28:08 2024 -0700 Don't set full_profile in auto-profile [PR113765] auto-profile currently doesn't guarantee that it will set probabilities on all edges because of zero basic block counts. Normally those edges just have probabilities set by the preceding profile_estimate pass but under -O0 profile_estimate pass doesn't run. The patch removes setting of full_profile to true in auto-profile. Tested on x86_64-pc-linux-gnu. gcc/ChangeLog: PR gcov-profile/113765 * auto-profile.cc (afdo_annotate_cfg): Don't set full_profile to true=