re PR fortran/67939 (ICE on using data with negative substring range)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 21 Oct 2015 21:40:05 +0000 (21:40 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 21 Oct 2015 21:40:05 +0000 (21:40 +0000)
commit44f92b59c2785eb9a77c04baf7b442416f2c2dce
tree7c9a5887c761c6e53bb17c254c94b09e5d6d5272
parentf9badf7134ba51f5a114d58c10e61cb1acd83997
re PR fortran/67939 (ICE on using data with negative substring range)

2015-10-21  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/67939
* data.c (create_character_initializer): Deal with zero length string.

2015-10-21  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/67939
* gfortran.dg/pr67939.f90: New test.

From-SVN: r229153
gcc/fortran/ChangeLog
gcc/fortran/data.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr67939.f90 [new file with mode: 0644]