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 <jvdeli...@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 <jvdeli...@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