[patch, committed] Fix PR 84640
Thomas Koenig
tkoenig@netcologne.de
Sat Oct 6 11:47:00 GMT 2018
Hi,
I just committed the fix below as obvious and simple. No test case
because the problem was only visible in with an instrumented
compiler.
Regards
Thomas
2018-10-06 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/84640
* simplify.c (gfc_simplify_cshift): Extend size of hs_ex and ss_ex
by one. Set extents one past the array boundaries to zero to avoid
warning with instrumented compiler.
(gfc_simplify_eoshift): Likewise, only for ss_ex.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181006/92a12372/attachment.bin>
More information about the Fortran
mailing list