re PR fortran/84141 (Internal error: type_name(): Bad type)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 3 Feb 2018 14:06:44 +0000 (14:06 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 3 Feb 2018 14:06:44 +0000 (14:06 +0000)
commit2c536ce7b6a3a75ef4b43e94e1575122e3a962ca
treee186f448e47b52bfebd5c24a395b7ddecade22b5
parentd97aee74162a861e8930f353323d615d092076a3
re PR fortran/84141 (Internal error: type_name(): Bad type)

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

PR fortran/84141
PR fortran/84155
* trans-array.c (gfc_array_init_size): Instead of gfc_get_dtype
use gfc_get_dtype_rank_type.

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

PR fortran/84141
PR fortran/84155
* gfortran.dg/pr84155.f90 : New test.

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