Suppress warning with -Wno-overwrite-recursive.
authorMark Eggleston <mark.eggleston@codethink.com>
Wed, 30 Oct 2019 08:37:29 +0000 (08:37 +0000)
committerMark Eggleston <markeggleston@gcc.gnu.org>
Wed, 30 Oct 2019 08:37:29 +0000 (08:37 +0000)
commit91c4891af8f7edd32689a9917db5ae81f4ab0c72
tree65d34a3a9baa938337730e952c40e39c5b0b704c
parent87f94429feeb72587549fdafd3106f1d799607ff
Suppress warning with -Wno-overwrite-recursive.

The use of -fno-automatic with -frecursive results in a warning implying
that recursion will not work. If all relevant local variable have the
automatic attribute explicitly declared recursion does work and the warning
is redundant.

From-SVN: r277602
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/no_overwrite_recursive_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/no_overwrite_recursive_2.f90 [new file with mode: 0644]