simplify.c (gfc_simplify_reshape): Convert assert into returning NULL, which triggers...
commitb4cb2a41df2b4871e6c0596b2b6683788cda6e04
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 2 Jun 2015 22:08:14 +0000 (2 22:08 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 2 Jun 2015 22:08:14 +0000 (2 22:08 +0000)
tree4add5cb79f0b8c32f9a391cbfb358d7de3cd7f5a
parent6712d6fd3087953b89ff78e2e6a58b39eb90a6a0
simplify.c (gfc_simplify_reshape): Convert assert into returning NULL, which triggers an error condition.

2015-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

* simplify.c (gfc_simplify_reshape): Convert assert into returning
NULL, which triggers an error condition.

2015-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.dg/reshape_7.f90: New test.

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