From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 969773858D38; Fri, 29 Dec 2023 05:28:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 969773858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703827680; bh=KcSTlkgy8Lc4DRGosF27UNEP7mlBLSRuV4GrcSPcpIU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VBHQJx+FyAzfI8oMJ/Kd4TSaBZwed83+iMrKd7/U021xyLo+fAjBX+2VO9ymt3JEv Amh8ljqW4K7roq68eq7FYx43iTs6LjHFvVfh2xtok9bzw/VUujg3JtRR8NM86klCC8 qoZ0/mrrL8RHlEFpp3uOf3ASGVFSnh2HgsxjftTY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/113157] compilation error in PGO Date: Fri, 29 Dec 2023 05:28:00 +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: 11.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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=3D113157 --- Comment #2 from Andrew Pinski --- That is this works: [apinski@xeond2 pr113157]$ gcc --coverage -o test 1.c 2.c -O3 [apinski@xeond2 pr113157]$ ./test [apinski@xeond2 pr113157]$ gcc -O3 -fprofile-use -o test 1.c 2.c=