diff options
author | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-13 17:00:29 +0000 |
---|---|---|
committer | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-13 17:00:29 +0000 |
commit | d5b9ea5044734f437a523eaa82f9705a7009bcda (patch) | |
tree | deb27dd7ef3176b87a01bbae18773e93918844aa /gcc/fortran | |
parent | eccf3719d47c110143e1769d8dfaa34f6e9e2198 (diff) | |
download | gcc-d5b9ea5044734f437a523eaa82f9705a7009bcda.tar.gz |
2016-09-13 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77420
* module.c (load_equiv): Revert revision 240063.
2016-09-13 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77420
* gfortran.dg/pr77420.f90: Revert revision 240063 by removing test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240118 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/module.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0c0e2460183..77ab72f1371 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2016-09-13 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/77420 + * module.c (load_equiv): Revert revision 240063. + 2016-09-10 Paul Thomas <pault@gcc.gnu.org> Steven G. Kargl <kargl@gcc.gnu.org> diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index 18e1ceeff9e..4d664f079f5 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -4647,7 +4647,7 @@ load_equiv (void) } /* Check for duplicate equivalences being loaded from different modules */ - duplicate = gfc_current_ns->equiv ? false:true; + duplicate = false; for (equiv = gfc_current_ns->equiv; equiv; equiv = equiv->next) { if (equiv->module && head->module |