------- Comment #12 from mikael at gcc dot gnu dot org 2010-06-25 10:32 ------- (In reply to comment #11) > Thus, seemingly, reject_statement leaves the symtree in a half-existing state. > It calls: gfc_undo_symbols () and undo_new_statement (). I think the former > one only does a partial cleanup. >
My understanding is that gfc_undo_symbols indeed cleans the symbol, but the old symbol pointer escapes through the equivalence list. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44660