2018-10-06 Thomas Koenig <tkoenig@gcc.gnu.org>
commit12ca6caf73bf2efaef6a84a1b0671e8325362d41
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2018 11:45:05 +0000 (6 11:45 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2018 11:45:05 +0000 (6 11:45 +0000)
tree3d0da4751f218c71c5f5f1f5bbcc3805ebdfc9f5
parent4bcfedf5c1fd7d15521a220f43c2a390c93688f0
 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264898 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/simplify.c