------- Comment #6 from pault at gcc dot gnu dot org 2008-11-04 07:59 ------- (In reply to comment #5) > The patch in comment #4 generate a lot of bus errors in my tests. Looking at > it, I think there is something missing: gfc_current_ns->old_cl_list is only > set > to NULL, it should likely be set to gfc_current_ns->cl_list somewhere. > It should not be necessary to do anything to the cl_list. As long as nothing points to a member, it can do nothing and gets cleaned up at the end of compilation. The reason for this is that any number, including zero, of typespecs can point to it, so it is very risky to delete a cl_list member.
Paul Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37992