PATCH] Fortran: PR93263 -fno-automatic and RECURSIVE
authorMark Eggleston <markeggleston@gcc.gnu.org>
Fri, 17 Jan 2020 08:49:25 +0000 (08:49 +0000)
committerMark Eggleston <markeggleston@gcc.gnu.org>
Fri, 17 Jan 2020 08:49:33 +0000 (08:49 +0000)
commite4a5f73449d7352ba8128fecbc9a9570d746abdb
treebeea2fb70aa72f40643b7a8517aa70dc0f0f919a
parentdc9ba9d045d0cfc06207806fd64b06ab3304b196
PATCH] Fortran: PR93263 -fno-automatic and RECURSIVE

The use of -fno-automatic should not affect the save attribute of a
recursive procedure. The first test case checks unsaved variables
and the second checks saved variables.
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr93263_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr93263_2.f90 [new file with mode: 0644]