This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67939] ICE on using data with negative substring range
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Oct 2015 20:07:44 +0000
- Subject: [Bug fortran/67939] ICE on using data with negative substring range
- Auto-submitted: auto-generated
- References: <bug-67939-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67939
--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Oct 29 20:07:13 2015
New Revision: 229555
URL: https://gcc.gnu.org/viewcvs?rev=229555&root=gcc&view=rev
Log:
2015-10-29 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67939
* data.c (create_character_initializer): Deal with zero length string.
2015-10-29 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67939
* gfortran.dg/pr67939.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67939.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/data.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog