re PR fortran/90498 (ICE with select type/associate and derived type argument contain...
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 19 May 2019 12:32:55 +0000 (12:32 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 19 May 2019 12:32:55 +0000 (12:32 +0000)
commitd05ccada1798ac57d8d46abbca18ba122d8b85f3
tree41db59a00a654e2f7ceec3eb942d0ed4fd6def26
parent20733f1b0db2770532afaff274e9231de37e50fc
re PR fortran/90498 (ICE with select type/associate and derived type argument containing class(*))

2019-05-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/90498
* trans-stmt.c (trans_associate_var) Do not use the saved
descriptor if the expression is a COMPONENT_REF.

2019-05-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/90498
* gfortran.dg/associate_48.f90 : New test.

From-SVN: r271380
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_48.f90 [new file with mode: 0644]