re PR fortran/78865 (ICE in create_tmp_var, at gimple-expr.c:473)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 24 Mar 2019 12:51:19 +0000 (12:51 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 24 Mar 2019 12:51:19 +0000 (12:51 +0000)
commit866664a3813a97fda8c7b6ebdd32d10d4915bb83
tree2bc39173ae2171234cb20a861d40984cdfcf11ad
parentc1e62ea1afea4c19cbe010a424f6b3cf7c181859
re PR fortran/78865 (ICE in create_tmp_var, at gimple-expr.c:473)

2019-03-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/78865
* interface.c (compare_actual_formal): Change errors about
missing or extra to gfc_error_now to make sure they are issued.
Change "spec" to "specifier" in message.
* resolve.c (resolve_global_procedure): Also check for mismatching
interface with global symbols if the namespace has already been
resolved.

2019-03-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/78865
* gfortran.dg/altreturn_10.f90: New test.
* gfortran.dg/whole_file_3.f90: Change dg-warning to dg-error.

From-SVN: r269895
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/altreturn_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/whole_file_3.f90