re PR fortran/85780 (ICE in resolve_fl_procedure, at fortran/resolve.c:12504)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 25 Jan 2019 17:55:25 +0000 (17:55 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 25 Jan 2019 17:55:25 +0000 (17:55 +0000)
commitf28c46cdb85172eb0e267b97e7a9d3befac30a2e
tree2242dbbebcc8ad8d6a1410458a54359107bf39f0
parent1009e9a2e43a42546cb0bc98fa56199663895b88
re PR fortran/85780 (ICE in resolve_fl_procedure, at fortran/resolve.c:12504)

2019-01-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85780
* decl.c (gfc_match_subroutine): Check for conflict between BIND(C)
and alternative return.

2019-01-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85780
* gfortran.dg/pr85780.f90: Update testcase for error message.

From-SVN: r268277
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr85780.f90