This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Bug 81296 - derived type I/o problem
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Jerry DeLisle <jvdelisle at charter dot net>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 21 Aug 2017 13:35:07 +0100
- Subject: Re: [patch, fortran] Bug 81296 - derived type I/o problem
- Authentication-results: sourceware.org; auth=none
- References: <af9d649d-a962-1d09-a423-0ef81165df22@charter.net>
Hi Jerry,
That looks good to me - OK for trunk and for backporting.
Thanks for the patch.
Paul
PS Did you have time to think about that rather more difficult bug,
involving a mix of DT descriptors and intrinsic descriptors for the
declared type?
On 21 August 2017 at 03:23, Jerry DeLisle <jvdelisle@charter.net> wrote:
> Hi all,
>
> The attached patch adds a check for the format label containing a "DT"
> format descriptor and enables the generation of the correct code. The patch
> modifies an existing test case as a future check on this.
>
> Regression tested on x86_64-linux.
>
> OK for trunk and backport to 7?
>
> Regards,
>
> Jerry
>
> 2017-08-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR fortran/81296
> * trans-io.c (get_dtio_proc): Add check for format label and set
> formatted flag accordingly. Reorganize the code a little.
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein