http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56845
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-04-04
Ever Confirmed|0 |1
--- Comment #3 from janus at gcc dot gnu.org 2013-04-04 21:24:12 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Also there is a piece of code in gfc_trans_deferred_vars (trans-decl.c)
> > which
> > claims to do exactly this (AFAICS). No idea why it is not in effect.
>
> That's easily answered: Because it is guarded by an "if (!sym->attr.save)".
Also it can not be used for SAVEd variables, because it would set the vptr on
each call of the subroutine (which is of course not what we want).