bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gprof cycle member list sorting bug


From: Nick Clifton
Subject: Re: Gprof cycle member list sorting bug
Date: Tue, 25 Sep 2007 17:00:43 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070718)

Hi Robert,

In cg_print.c:sort_members gprof loses a members of the linked list when
sorting! The bug is at cg_print.c:169 (in current HEAD). The guard of
the outer for loop should be just 'doing' not 'doing &&
doing->cg.cyc.next'.

Thank you for reporting this bug. I have checked in your patch along with this changelog entry.

Cheers
  Nick

gprof/ChangeLog
2007-09-25  Robert Norton  <address@hidden>

        * cg_print.c (sort_members): Include the final member on the list
        in the sort.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]