[Patch, fortran][9/10 Regression] PR 93236 -fno-automatic and RECURSIVE
Mark Eggleston
mark.eggleston@codethink.co.uk
Thu Jan 16 15:00:00 GMT 2020
Please find attached patch to fix this regression.
OK for master and 9 branch?
Change logs:
gcc/fortran
   Mark Eggleston <mark.eggleston@codethink.com>
   PR fortran/93236
   * resolve.c (resolve_types): Declare boolean recursive and set with the
   value of the recursive attribute of namespace proc_name symbol
   structure if it exists. Call gfc_save_all if both flag_automatic and
   recursive are false or ns->save_all is true.
gcc/testsuite
   Mark Eggleston <mark.eggleston@codethink.com>
   Tobias Burnus <burnus@gcc.gnu.org>
   * gfortran.dg/pr93263_1.f90: New test.
   * gfortran.dg/pr93263_2.f90: New test.
--
https://www.codethink.co.uk/privacy.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-PR93263-fno-automatic-and-RECURSIVE.patch
Type: text/x-patch
Size: 2918 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20200116/c1bf6696/attachment.bin>
More information about the Gcc-patches
mailing list