re PR fortran/90002 (ICE: free_expr0(): Bad expr type)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 12 Jun 2019 18:28:32 +0000 (18:28 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 12 Jun 2019 18:28:32 +0000 (18:28 +0000)
commit974b8e618b52dd1d30ca067e75995fe9fc8e6895
treeb5896ea164223e31c79166f4fd93421515a68a6b
parente97bf6bbbdb43e65cca8509a0f9af681c2a01c2b
re PR fortran/90002 (ICE: free_expr0(): Bad expr type)

2019-06-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/90002
* array.c (gfc_free_array_spec): When freeing an array-spec, avoid
an ICE for assumed-shape coarrays

2019-06-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/90002
* gfortran.dg/pr90002.f90: New test.

From-SVN: r272201
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr90002.f90 [new file with mode: 0644]