diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-12 19:41:11 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-12 19:41:11 +0000 |
commit | 0a32260cf66ad59c6cafa1a1504d90ae182160df (patch) | |
tree | cad0bd5af02da231b9b48aba25c72bbc337b5301 /gcc/fortran | |
parent | f8dda2a530558b2e4c1b8c71aa4ed78dd38da577 (diff) | |
download | gcc-0a32260cf66ad59c6cafa1a1504d90ae182160df.tar.gz |
2013-12-12 Tobias Burnus <burnus@net-b.de>
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 <burnus@net-b.de>
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
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/trans-decl.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index cd4b38556be..9d8f1ba4127 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2013-12-12 Tobias Burnus <burnus@net-b.de> + + PR fortran/59440 + * trans-decl.c (generate_namelist_decl): Ensure debug DIE + is created by setting DECL_IGNORED_P to 0. + 2013-12-11 Janus Weil <janus@gcc.gnu.org> PR fortran/58916 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); } |