This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Bug 81296 - derived type I/o problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]