diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2018-03-24 17:37:21 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2018-03-24 17:37:21 +0000 |
commit | 335d03387408e2ce580e59ace0a593d7d9e1950d (patch) | |
tree | 658e0a2b9fedcc9dcd5671990949f4b417428c02 /gcc/fortran/check.c | |
parent | ba77f7bad0f0898454cdef193a24a825cbc3f953 (diff) | |
download | gcc-335d03387408e2ce580e59ace0a593d7d9e1950d.zip gcc-335d03387408e2ce580e59ace0a593d7d9e1950d.tar.gz gcc-335d03387408e2ce580e59ace0a593d7d9e1950d.tar.bz2 |
re PR fortran/70068 (ICE: out of memory on involving empty substring)
2018-03-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/70068
* expr.c (find_substring_ref): Change types of start, end
and length variables to gfc_charlen_t. Set length to zero
for empty substring.
2018-03-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/70068
* gfortran.dg/substr_7.f90: New test.
From-SVN: r258835
Diffstat (limited to 'gcc/fortran/check.c')
0 files changed, 0 insertions, 0 deletions