2018-02-04 Paul Thomas <pault@gcc.gnu.org>
commitcfd8c4eb73f1db78f8768a325f241bf5006b3975
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Feb 2018 13:18:33 +0000 (4 13:18 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Feb 2018 13:18:33 +0000 (4 13:18 +0000)
tree71ac6d25292623549f95d3b52c1baf354e7030da
parentda63749cbfed919b75e30847b4ad5a3dfb82ab93
2018-02-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/84115
* trans-decl.c (gfc_get_symbol_decl): Do not finish the decl of
'length' if the symbol charlen backend_decl is an indirect ref.

2018-02-04  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/84115
* gfortran.dg/associate_34.f90: New test.
* gfortran.dg/associate_35.f90: New test.

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