This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Emit Fortran PARAMETERs as DW_TAG_constant into debuginfo


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]