[PATCH] Pr fortran/68153 -- Enhance checking of RESHAPE shape arg
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Nov 1 19:24:00 GMT 2015
The attached patch enhances the check of the shape argument
when it is a named constant. See the testcase for example.
Built and regression tested on i386-*-freebsd. OK to commit?
2015-11-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68153
* check.c (gfc_check_reshape): Improve check for valid SHAPE argument.
2015-11-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/68153
* gfortran.dg/pr68153.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr68153.diff
Type: text/x-diff
Size: 1776 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20151101/66c8ed27/attachment.bin>
More information about the Fortran
mailing list