[Bug fortran/56845] [OOP] _vptr not set to declared type for CLASS + SAVE
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 5 08:44:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56845
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-05 08:43:58 UTC ---
(In reply to comment #1)
> Huh, funny. I thought we were doing this already.
>
> 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.
For ALLOCATABLE,SAVE the array itself is initialized via a call to
trans-array.c's gfc_build_null_descriptor.
More information about the Gcc-bugs
mailing list