re PR fortran/77351 (ICE in remove_trim, at frontend-passes.c:1145)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 25 Aug 2016 19:35:46 +0000 (19:35 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 25 Aug 2016 19:35:46 +0000 (19:35 +0000)
commite5cf162909e9209d20f3c33fc946d7f412f38028
tree5ffb23da2ec76df0438906ebb898db781a219154
parent384043e89efc6f0898b3bab3a758c3b55d3f2bcb
re PR fortran/77351 (ICE in remove_trim, at frontend-passes.c:1145)

2016-08-25  Steven g. Kargl  <kargl@gcc.gnu.org>

PR fortran/77351
* frontend-passes.c (remove_trim,combine_array_constructor): Check for
NULL pointer.

2016-08-25  Steven g. Kargl  <kargl@gcc.gnu.org>

PR fortran/77351
* gfortran.dg/pr77351.f90: New test.

From-SVN: r239763
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77351.f90 [new file with mode: 0644]