re PR fortran/68318 (ICE on duplicate entry declarations)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 13 Nov 2015 00:14:32 +0000 (00:14 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 13 Nov 2015 00:14:32 +0000 (00:14 +0000)
commit2050626ae819be7b6409b53b2fc641bcc37949f4
tree266afc73a4ebb97826028912318f59d8755bbc21
parentbe561c63f445cc8caa2aaa06f254d70a532bff03
re PR fortran/68318 (ICE on duplicate entry declarations)

2015-11-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68318
* decl.c (get_proc_name): Increment reference count for ENTRY.
While here, fix comment and use postfix ++ for consistency.

2015-11-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68318
* gfortran.dg/pr68318_1.f90: New test.
* gfortran.dg/pr68318_2.f90: Ditto.

From-SVN: r230278
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr68318_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr68318_2.f90 [new file with mode: 0644]