From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E40BD3858D39; Wed, 17 Apr 2024 05:06:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E40BD3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713330411; bh=NNKjYCFv8cvKUqGiEwLoDz1uRmAgRRemc2zKRyKfY4U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BCp1QOVtViC4Fd89zQEAwc3BBQUrzhpm2neOoZckqoMtL43BOULi+bA26h2izy5zy JSYJjTmizGTEERIBImvzCBKs3SB696nsyYowYRdDMdg/UPVgkAoD7wBb4EQVnksWi9 dKQK/jeXK0a3Sl7wyEQBM/1OnDF48SFk2YJVCzlc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0 Date: Wed, 17 Apr 2024 05:06:51 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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=3D114735 --- Comment #6 from Andrew Pinski --- (In reply to Gejoe from comment #4) > Thanks Andrew for the info. >=20 > So, does this mean that every program which was compiled earlier with one > step (ie. gcc --coverage srcfile.c) of gcc/g++ will have to be split to 2 > steps using -c option first and then processing the '.o' file ? Is this > change documented in the GCC gcov manual well ? > https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html >=20 > I just happened to see that example today in the "Invoking Gcov" section = and > was thinking if this has to be done going forward for all recent gcc > versions (post 11.0) or is just confined to version 11.x gcc. No it was changed for all versions post GCC 11+ (including GCC 11).=