[PATCH] PR fortran/97036 - [F2018] Allow ELEMENTAL RECURSIVE procedure prefix
Harald Anlauf
anlauf@gmx.de
Tue Sep 15 20:35:41 GMT 2020
As stated in the PR, the Fortran 2018 standard removed the restriction
prohibiting ELEMENTAL RECURSIVE procedures. Adjust the relevant check.
Regtested on x86_64-pc-linux-gnu.
OK for master?
Thanks,
Harald
PR fortran/97036 - [F2018] Allow ELEMENTAL RECURSIVE procedure prefix
gcc/fortran/ChangeLog:
* symbol.c (gfc_check_conflict): Allow ELEMENTAL RECURSIVE
procedure prefix for -std=f2018.
gcc/testsuite/ChangeLog:
* gfortran.dg/pr97036.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr97036.patch
Type: text/x-patch
Size: 1424 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200915/0969b164/attachment.bin>
More information about the Gcc-patches
mailing list