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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|ASSIGNED                    |NEW
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot 
gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, there are lines:

pr85179.gcno:    01450000:  10:LINES
pr85179.gcno:                  block 2:`pr85179.c':2, 3
pr85179.gcno:    01450000:   9:LINES
pr85179.gcno:                  block 3:`pr85179.c':5
pr85179.gcno:    01450000:   9:LINES
pr85179.gcno:                  block 4:`pr85179.c':4
pr85179.gcno:    01450000:  10:LINES
pr85179.gcno:                  block 5:`pr85179.c':5, 6

and CFG:

Released 0 names, 0.00%, removed 0 holes
main ()
{
  int a.0_1;

  <bb 2> :
  a.0_1 = a;
  if (a.0_1 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  // predicted unlikely by goto predictor.

  <bb 4> :
b:
  return;

}

So line 5 belongs to 5, which is wrong.
Again, low priority.

Reply via email to