This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Emit Fortran PARAMETERs as DW_TAG_constant into debuginfo
- From: Jason Merrill <jason at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Fri, 29 Aug 2008 12:03:25 -0400
- Subject: Re: [PATCH] Emit Fortran PARAMETERs as DW_TAG_constant into debuginfo
- References: <20080826184548.GD23259@hs20-bc2-1.build.redhat.com>
It seems like the code for handling RECORD_TYPE initializers will leave
members with no explicit initializer as random bytes in the dwarf
output. Just setting the whole array to 0 before processing the
initializer ought to do the trick.
With that change, the dwarf2 part is OK.
Jason