http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57079
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-26
07:46:41 UTC ---
(In reply to comment #0)
> There might be also other cases, where the fields aren't properly set.
In particular, I think, one should check:
- ALLOCATE with SOURCE=
- CLASS(*) - also as DT component
- Pointer assignment "=>" - especially with CLASS(dt)/CLASS(*)
On the other hand, some values are currently reseted but should have the same
value, e.g. "type" is set at declaration time (or for components: when the
encompassing DT is allocated). In that case, the only case where "type" has to
be set is for CLASS(*) [type = other vs. type = <intrinsic type>] and in case
of "elem_len" for CLASS(dt)/CLASS(*).