This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Undefined reference to module variable when using equivalence()
On Mon, Sep 12, 2016 at 05:15:30PM -0700, Andrew Benson wrote:
> Yes - reverting that commit resolves the problem and the test case compiles
> successfully.
>
> > ------------------------------------------------------------------------
> > r240063 | kargl | 2016-09-09 17:52:45 -0700 (Fri, 09 Sep 2016) | 12 lines
> >
> > 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.
> >
Bummer. Means 77420 is still broken if I revert.
--
Steve