re PR fortran/91390 (treatment of extra parameter in a subroutine call)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 26 Aug 2019 20:05:32 +0000 (20:05 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 26 Aug 2019 20:05:32 +0000 (20:05 +0000)
commit7a56096cc43d969a180f965a0e6bb07941978fea
tree4e930d375b599516e1553090c77333e69093573a
parent4d67cae5e6671aaa433b6d6a96c9da47cfd71b45
re PR fortran/91390 (treatment of extra parameter in a subroutine call)

2019-08-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/91390
PR fortran/91473
* frontend-passes.c (gfc_check_externals): Make
gfc_errors_to_warnings conditional on -fallow-argument-mismatch.
* invoke.texi: Document -fallow-argument-mismatch.
* lang.opt: Add -fallow-argument-mismatch.

2019-08-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/91390
PR fortran/91473
* gfortran.dg/used_before_typed_4.f90: Change warning to error.
* gfortran.dg/argument_checking_20.f90: New test.

From-SVN: r274937
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/used_before_typed_4.f90