PR37132 – RFC patch for generation of DWARF symbol for Fortran's namelists (DW_TAG_namelist)
Jakub Jelinek
jakub@redhat.com
Wed Dec 4 17:58:00 GMT 2013
On Wed, Dec 04, 2013 at 09:47:36AM -0800, Cary Coutant wrote:
> > gcc/
> > 2013-11-24 Tobias Burnus <burnus@net-b.de>
> >
> > PR debug/37132
> > * lto-streamer.h (LTO_tags): Add LTO_namelist_decl_ref.
> > * tree.def (NAMELIST_DECL): Add.
> > * tree.h (NAMELIST_DECL_ASSOCIATED_DECL): New macro.
> > * tree.c (initialize_tree_contains_struct): Add asserts for it.
> > * dwarf2out.c (gen_namelist_decl): New function.
> > (gen_decl_die, dwarf2out_decl): Call it.
> > (dwarf2out_imported_module_or_decl_1): Handle NAMELIST_DECL.
> > * lto-streamer-in.c (lto_input_tree_ref): Handle NAMELIST_DECL.
> > (lto_input_tree_ref, lto_input_tree_1): Update lto_tag_check_range
> > call.
> > * lto-streamer-out.c (lto_output_tree_ref): Handle NAMELIST_DECL.
> >
> > gcc/fortran
> > 2013-11-24 Tobias Burnus <burnus@net-b.de>
> >
> > PR debug/37132
> > * trans-decl.c (generate_namelist_decl, create_module_nml_decl):
> > New static functions.
> > (gfc_generate_module_vars, generate_local_vars): Call them.
> > (gfc_trans_use_stmts): Handle namelists for debug genertion.
>
> The DWARF parts of this patch are OK with me.
The rest is okay too.
Jakub
More information about the Fortran
mailing list