This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77420] [5/6/7 Regression] gfortran and equivalence produces internal compiler error
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 10 Sep 2016 00:53:17 +0000
- Subject: [Bug fortran/77420] [5/6/7 Regression] gfortran and equivalence produces internal compiler error
- Auto-submitted: auto-generated
- References: <bug-77420-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77420
--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Sep 10 00:52:45 2016
New Revision: 240063
URL: https://gcc.gnu.org/viewcvs?rev=240063&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/pr77420.f90
Modified:
trunk/gcc/fortran/module.c
trunk/gcc/testsuite/ChangeLog