re PR fortran/77420 (gfortran and equivalence produces internal compiler error)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 10 Sep 2016 00:52:45 +0000 (00:52 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 10 Sep 2016 00:52:45 +0000 (00:52 +0000)
commit352c2128b444a858e1a273de4b7a14d293e48968
tree8ab3ddcf9a74e2e84138365bffe81474b2ee69ea
parentc87656b4d374be9c62d9d9771a37e9888d25039a
re PR fortran/77420 (gfortran and equivalence produces internal compiler error)

2016-09-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77420
* module.c (load_equiv): If the current namespace has a list of
equivalence statements, initialize duplicate to false and then
look for duplicates; otherwise, initialize it to true.

2016-09-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77420
* gfortran.dg/pr77420.f90: New test.

From-SVN: r240063
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77420.f90 [new file with mode: 0644]