https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78059
Bug ID: 78059 Summary: Pointer to variable length array, debug info Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: bernhard.heckel at intel dot com Target Milestone: --- Created attachment 39856 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39856&action=edit Fortran sample Current behaviour: A pointer to an variable length array (VLA) is declared in the dwarf debug_info as an array with the "associated attribute". Expectation is to see a pointer type which has an array as target type as described here: http://www.j3-fortran.org/doc/year/04/04-007.pdf Glossary of technical terms (Page 425) array pointer (5.1.2.5.3) : A pointer to an array Attached is a - fortran example - Gfortran generated dwarf info - Expected dwarf info