public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/96000] New: Line containing "do" reported as "not run"
@ 2020-06-30 11:44 rguenth at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: rguenth at gcc dot gnu.org @ 2020-06-30 11:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96000

            Bug ID: 96000
           Summary: Line containing "do" reported as "not run"
           Product: gcc
           Version: 10.1.1
            Status: RESOLVED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: loximann at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
            Status: RESOLVED
        Resolution: DUPLICATE

The first do is marked as "#####", the second one is correctly marked as "-".

        -:    0:Source:coverage_test_2.cpp
        -:    0:Graph:coverage_test_2.gcno
        -:    0:Data:coverage_test_2.gcda
        -:    0:Runs:1
        1:    1:int main()
        -:    2:{
        1:    3:    int i =0;
    #####:    4:    do
        -:    5:    {
        1:    6:        ++i;
        1:    7:    } while(i<1);
        -:    8:    do
        -:    9:    {
        -:   10:    } while(false);
        1:   11:}

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
.

*** This bug has been marked as a duplicate of bug 95994 ***

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-30 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 11:44 [Bug gcov-profile/96000] New: Line containing "do" reported as "not run" rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).