[patch, fortran] Bug 35849 - "wrong" line shown in error message for parameter
Jerry DeLisle
jvdelisle@charter.net
Mon Jul 4 19:14:00 GMT 2016
I will commit attached patch provided by Steve and reviewed and tested
by myself to trunk. Test case provided.
Self explanatory.
Regards,
Jerry
2016-07-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/35849
* simplify.c (gfc_simplify_ishftc): Check that absolute value of
SHIFT is less than or equal to SIZE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr35849.diff
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160704/5c383b18/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr35849.f90
Type: text/x-fortran
Size: 601 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160704/5c383b18/attachment-0001.bin>
More information about the Fortran
mailing list