From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D156386F43B; Sat, 15 Aug 2020 01:15:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D156386F43B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597454126; bh=hxxIyobz+g7HwvIZ7BAxdFrjwI0RVRSO1w8h9r/pfw4=; h=From:To:Subject:Date:From; b=RjMrLLb3LMpwnAPbs+FGZH51KM4aZdB1U12vuFlx0aNKUnD+D3aKDdV+Oty2Ve+SA zuUR7I5zXyZThIFlNdL3sMWj1emejgC3BddKRWQPh1Yl5cgYE4Nf5W9Em0Cy84uCBA Oo6S5l6F6AWatkbKiIz9Kguup146gIDd8DuZcEwg= From: "roland.illig at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/96622] New: gcov misses to count break statement Date: Sat, 15 Aug 2020 01:15:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: roland.illig at gmx dot de 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2020 01:15:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96622 Bug ID: 96622 Summary: gcov misses to count break statement Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 49064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49064&action=3Dedit demonstration project Run gcov on the attached project. Examine the coverage count of the break statement. It should be 1, but is '-'.=