Re: [PATCH] PR fortran/66380 -- Remove assert() to allow error condition
> 2015-05-27 Steven G. Kargl > > * simplify.c (gfc_simplify_reshape): Convert assert into returning > NULL, which triggers an error condition. OK to commit.
[PATCH] PR fortran/66380 -- Remove assert() to allow error condition
The attached patch returns an assert() and returns NULL during the simplification of a bad RESHAPE call. This allows gfortran to correctly issue and error message. Regression tested on trunk. OK to commit. 2015-05-27 Steven G. Kargl * simplify.c (gfc_simplify_reshape): Convert assert