re PR fortran/78297 (ICE in finish_equivalences, at fortran/trans-common.c:1246)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 23 Nov 2016 21:44:05 +0000 (21:44 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 23 Nov 2016 21:44:05 +0000 (21:44 +0000)
commit91c9fb42c0c9121b745779bb86e7ac6dae4363b7
tree6684ceaad7db16f2228d91e4df625a593c89cf41
parent15a3cdd8b070651c9b5b3433bfaa0d7418a40460
re PR fortran/78297 (ICE in finish_equivalences, at fortran/trans-common.c:1246)

2016-11-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78297
* trans-common.c (finish_equivalences): Do not dereference a NULL pointer.

2016-11-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78297
* gfortran.dg/pr78297.f90: New test.

From-SVN: r242802
gcc/fortran/ChangeLog
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr78297.f90 [new file with mode: 0644]