From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C77F63858C5F; Fri, 3 Feb 2023 16:36:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C77F63858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675442207; bh=wL3VuBlLDYjacfk2LPK/9VdfwottGcQD6lC+ckM0Ekc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HKYv9nue4n/jU2HfDrZ2dg7hXW8eOexmqrBuJWBLZ6zK3gGdOVz8CrP2WdWoFowgW 56oreXpaydNBKL+yzcEvv2Op+5mDN1Cm7zaPomvba0XXv3OnY+hi/Z6jhjAlQKfOa+ o+w208dSCrNLpMZ2bTIrtJk5NbB7rMI5wcZarRfk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/108658] [GCOV] Function entry is not recorded in a function containing an infinite loop depending on the optimization level Date: Fri, 03 Feb 2023 16:36:47 +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: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: resolution bug_status 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=3D108658 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Instrumentation-Options.html#= index-fprofile-update > The GCC driver automatically selects =E2=80=98prefer-atomic=E2=80=99 when= -pthread is present in the command line. The default for -fprofile-update=3D is single.=