ok, thanks .

On 9/15/20 1:35 PM, Harald Anlauf wrote:
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.


Reply via email to