This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,libgfortran] Bug 69668 - [4.9/5/6 Regression] Error reading namelist opened with DELIM='NONE'
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Jerry DeLisle <jvdelisle at charter dot net>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 11 Feb 2016 20:38:28 +0200
- Subject: Re: [patch,libgfortran] Bug 69668 - [4.9/5/6 Regression] Error reading namelist opened with DELIM='NONE'
- Authentication-results: sourceware.org; auth=none
- References: <56BAA45C dot 9020203 at charter dot net>
On Wed, Feb 10, 2016 at 4:45 AM, Jerry DeLisle <jvdelisle@charter.net> wrote:
> The attached patch reverts the guilty code. We were trying to honor delim=NONE
> on namelist reads which is invalid.
>
> Test cases updated. Regression tested on x86-64.
>
> OK for trunk and back port in about a week?
For namelist_38.90, I think it would be better to open it with
status="scratch" as it was before, so that we don't leave test files
around in case the test fails.
And in the ChangeLog entry, you have misspelled the testcase names
(naMelist, not naNelist).
Ok with these changes.
>
> Regards,
>
> Jerry
>
> 2016-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libgfortran/69668
> * io/list_read.c (read_character): Remove code related to DELIM_NONE.
>
>
>
> 2016-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libgfortran/69668
> * gfortran.dg/nanelist_38.f90: Update test.
> * gfortran.dg/nanelist_84.f90: Update test.
--
Janne Blomqvist