re PR fortran/83901 (ICE in fold_convert_loc, at fold-const.c:2402)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 28 Feb 2018 17:36:20 +0000 (17:36 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 28 Feb 2018 17:36:20 +0000 (17:36 +0000)
commitb14a13facf3903b7f7d67b2501dd1a3c2f200823
treedcd09ad336ba1d82feadc364daa2642e3d5bf37c
parentba64c7b8934fbd59a1d5bd370a4aaab4bf2d0ed2
re PR fortran/83901 (ICE in fold_convert_loc, at fold-const.c:2402)

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

PR fortran/83901
* trans-stmt.c (trans_associate_var): Make sure that the se
expression is a pointer type before converting it to the symbol
backend_decl type.

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

PR fortran/83901
* gfortran.dg/associate_37.f90: New test.

PR fortran/83344
* gfortran.dg/associate_36.f90: Add Steve Kargl as contributer.

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