https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96622
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=49064&action=edit demonstration project Run gcov on the attached project. Examine the coverage count of the break statement. It should be 1, but is '-'.