This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/59438] DWARF: Fortran mishandles ALLOCATABLE/ASSOCIATED in debug output
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Dec 2013 21:58:36 +0000
- Subject: [Bug fortran/59438] DWARF: Fortran mishandles ALLOCATABLE/ASSOCIATED in debug output
- Auto-submitted: auto-generated
- References: <bug-59438-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59438
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Regarding (a): I think we should consider to simply use the same structure of
arrays ("struct array_descr_info") also for scalars. Besides that it already
exists, it is probably also sensible when we will handle coarrays, cf. PR49566.
(d) We also need to handle DW_AT_allocated/associated for CLASS, which means
that the variable's DW_AT_allocated must point to <var>._data.data instead of
to <var>.data.