------- Comment #8 from burnus at gcc dot gnu dot org 2009-11-24 06:59 ------- (In reply to comment #7) > + if (gfc_pure (NULL) && gfc_state_stack->state != COMP_DERIVED)
Looks OK. > None of the examples have any save attributes set, implied or otherwise. Probably not in decl.c - but at some point, it should get that status as foo = init-expr and fooptr => init-expr implies SAVE. (Actually, the implied SAVE seems to works as expected - I just checked for pointer.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42008