From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 94A9F3858C52; Fri, 3 Feb 2023 17:39:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94A9F3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675445988; bh=xRIybhgXYVD3PmolwGdqSZ00OXYvkQD3pFw8E0Vwggk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sXW8pdVp+MQmKBu83wZ/nHYP0tMXFyrXY/13ybPoemMtP6296IR7f5Z4NklxfUu5i uTqV++8MoPgWCviWtpWpLI9h6+CoaCM+67cZJHvXy0VNY2YHy/Eu/vjwE+9iCJ+mG0 Ow3cJHc4ZYlFb83i+qitNAXVeYVi5gERY3R+E+FE= From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/108658] [GCOV] Function entry is not recorded in a function containing an infinite loop from another thread depending on the optimization level Date: Fri, 03 Feb 2023 17:39:48 +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: sebastian.huber@embedded-brains.de 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: 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 --- Comment #3 from Sebastian Huber --- Thanks for the hint, however, adding -pthread or -fprofile-update=3Datomic doesn't change anything.=