re PR fortran/84957 (ICE in gfc_sym_type, at fortran/trans-types.c:2255)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 21 Mar 2018 21:12:41 +0000 (21:12 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 21 Mar 2018 21:12:41 +0000 (21:12 +0000)
commit482768bd6b85a5e7b7cf8a208e8a9c50bda052e1
treeb440ed3b7ded701db2ea631b4e800693b2788e49
parent3e129b5bc6bc96a0844dcdf75188dc4710028939
re PR fortran/84957 (ICE in gfc_sym_type, at fortran/trans-types.c:2255)

2018-03-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
Harald Anlauf  <anlauf@gmx.de>

PR fortran/84957
* trans-types.c (gfc_sym_type): Do not dereference NULL pointer.

2018-03-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
Harald Anlauf  <anlauf@gmx.de>

PR fortran/84957
* gfortran.dg/pr84957.f90: New test.

Co-Authored-By: Harald Anlauf <anlauf@gmx.de>
From-SVN: r258745
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr84957.f90 [new file with mode: 0644]