[Committed] PR fortran/77420

2016-09-26 Thread Steve Kargl
This is a follow-up commit to really fix PR fortran/77420. The code has been in my tree for 2 weeks and has passed numerous regression tests. 2016-09-26 Steven G. Kargl PR fortran/77420 * trans-common.c: Handle array elements in equivalence when the lower and upper bou

Re: [Committed] PR fortran/77420 -- revert previous commit

2016-09-13 Thread Jakub Jelinek
On Tue, Sep 13, 2016 at 10:05:56AM -0700, Steve Kargl wrote: > --- gcc/fortran/module.c (revision 240117) > +++ gcc/fortran/module.c (working copy) > @@ -4647,7 +4647,7 @@ load_equiv (void) >} > > /* Check for duplicate equivalences being loaded from different modules > */

[Committed] PR fortran/77420 -- revert previous commit

2016-09-13 Thread Steve Kargl
I've reverted my previous fix for PR fortran/77420. It was causing a regression that could, in principle, effect a significant nubmer of gfortran users. 2016-09-13 Steven G. Kargl PR fortran/77420 * module.c (load_equiv): Revert revision 240063. 2016-09-13 Steven G. Kargl

[Committed] PR fortran/77420

2016-09-09 Thread Steve Kargl
I've committed the following patch. It restores gfortran's behavior prior to my commit r224159 if the current namespace has an empty equivalent list. 2016-09-09 Steven G. Kargl PR fortran/77420 * module.c (load_equiv): If the current namespace has a list of equivalence