[PATCH] PR fortran/67939 -- Fix zero length strings in DATA statement

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Oct 21 21:21:00 GMT 2015


Hi Steve,

It looks good to me - OK to commit.

Cheers

Paul

PS You, as far as I can tell, are the second most prolific bug fixer
of 2015. The only person that beats you is Mr(or Ms) Unassigned. We
need to sort out who this person is.....

On 21 October 2015 at 22:05, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> The attach patch properly sets the length for a zero length string
> in a data.  Built and regression tested on x86_64-*-freebsd.  The
> testcase is self-explanatory.
>
> OK to commit?
>
>
> 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.
>
> --
> Steve



-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.

Groucho Marx



More information about the Fortran mailing list