------- Comment #9 from amacleod at redhat dot com 2008-09-19 13:27 ------- Created an attachment (id=16362) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16362&action=view) patch to fix the bug
Looking a little closer, Im going to change Honza's patch a little. Since the checks are no longer being done after each BB is processed, they serve less purpose, and are runn just before the free_() routine. Moving them to the free_ routine makes more sense, and when I did that, it was clear then that there was a duplicate check there, as well as an extra loop of potential free()s which could never be called. so this cleans that all up. I'll check this in once its finishes testing this morning -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37567