re PR fortran/82841 (Segfault in gfc_simplify_transfer)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 8 Nov 2017 22:56:58 +0000 (22:56 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 8 Nov 2017 22:56:58 +0000 (22:56 +0000)
commitb036979093e912243a4ff999a50feb86fe6f7889
treeedd4daf21b07035131c368cddec9626932a8eb1e
parentfb5621b1841b56a88f66fb1e08dd87db0009c57b
re PR fortran/82841 (Segfault in gfc_simplify_transfer)

2017-11-08  Steven G. Kargl  <kargl@kgcc.gnu.org>

PR Fortran/82841
* simplify.c(gfc_simplify_transfer): Do not dereference a NULL pointer.
Unwrap a short line.

2017-11-08  Steven G. Kargl  <kargl@kgcc.gnu.org>

PR Fortran/82841
* gfortran.dg/transfer_simplify_11.f90: new test.

From-SVN: r254555
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/transfer_simplify_11.f90 [new file with mode: 0644]