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  <[EMAIL PROTECTED]>

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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to