re PR fortran/77414 (ICE in create_function_arglist, at fortran/trans-decl.c:2410)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 18 Mar 2018 17:51:57 +0000 (17:51 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 18 Mar 2018 17:51:57 +0000 (17:51 +0000)
commit96c8b2534d19a0769152cd33e7fccc66a8785389
treeff06ab0f94a74091ec8b716ec3ed15cf47bc3d7f
parent81ea7c11e1995736f39b0bbd8aa14160d7f08626
re PR fortran/77414 (ICE in create_function_arglist, at fortran/trans-decl.c:2410)

2018-03-18  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77414
* decl.c (get_proc_name):  Check for a subroutine re-defined in
the contain portion of a subroutine.  Change language of existing
error message to better describe the issue. While here fix whitespace
issues.

2018-03-18  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77414
* gfortran.dg/pr77414.f90: New test.
* gfortran.dg/internal_references_1.f90: Adjust error message.

From-SVN: r258633
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/internal_references_1.f90
gcc/testsuite/gfortran.dg/pr77414.f90 [new file with mode: 0644]