[PATCH] Fix gfortran.dg/dtio_13.f90 failure on at least FreeBSD
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Oct 30 18:05:00 GMT 2017
The attached patch fixes the failure of gfortran.dg/dtio_13.f90
on at least FreeBSD. This test has been failing for a very long
time. In resolve_transfer, gfortran needs to check for a BT_CLASS,
but failed to to do. The patch allows one to remove a TODO in
dt90_13.f90 and more important the dg-error test for a spurious
error. OK to commit?
2017-10-30 Steven G. Kargl <kargl@gcc.gnu.org>
* resolve.c (resolve_transfer): Set derived to correct symbol for
BT_CLASS.
2017-10-30 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/dtio_13.f90: Remove TODO comment and dg-error test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve.c.diff
Type: text/x-diff
Size: 1239 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171030/f934779c/attachment.bin>
More information about the Fortran
mailing list