From 0a32260cf66ad59c6cafa1a1504d90ae182160df Mon Sep 17 00:00:00 2001 From: burnus Date: Thu, 12 Dec 2013 19:41:11 +0000 Subject: 2013-12-12 Tobias Burnus PR fortran/59440 * trans-decl.c (generate_namelist_decl): Ensure debug DIE is created by setting DECL_IGNORED_P to 0. 2013-12-12 Tobias Burnus PR fortran/59440 * gfortran.dg/namelist_83.f90: New. * gfortran.dg/namelist_83_2.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205939 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/trans-decl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/fortran/trans-decl.c') diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index c1775b33496..4da6b62a622 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -4164,6 +4164,7 @@ generate_namelist_decl (gfc_symbol * sym) nml->sym->attr.referenced = 1; nml->sym->backend_decl = gfc_get_symbol_decl (nml->sym); } + DECL_IGNORED_P (nml->sym->backend_decl) = 0; CONSTRUCTOR_APPEND_ELT (nml_decls, NULL_TREE, nml->sym->backend_decl); } -- cgit v1.2.1