OSDN Git Service

PR fortran/46884
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Dec 2010 11:11:22 +0000 (11:11 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Dec 2010 11:11:22 +0000 (11:11 +0000)
commit06a1d255f7c71d95802037767284068a3777d863
treebc7d9ff53a3fe86e895b052668ef9f569e629789
parent66fc42b706cf3887ab7a32d97fecf9b54b30d612
PR fortran/46884
* symbol.c (gfc_new_charlen): If old_cl is non-NULL, put it
at the ns->old_cl_list spot in the chain rather than at
ns->cl_list.

* gfortran.dg/pr46884.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167742 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr46884.f [new file with mode: 0644]