re PR fortran/84115 (Failure in associate construct with concatenated character target)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 4 Feb 2018 13:18:33 +0000 (13:18 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 4 Feb 2018 13:18:33 +0000 (13:18 +0000)
commit26f822c249d38844670d2eba6277cf92973d93cf
tree71ac6d25292623549f95d3b52c1baf354e7030da
parentb27fe7a8155f0c6715601abd75206e03677c92a6
re PR fortran/84115 (Failure in associate construct with concatenated character target)

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.

From-SVN: r257363
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]