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()
That's too bad. I also just now confirmed that the full HDF5 library now
compiles successfully after reverting that commit.
On Monday, September 12, 2016 5:20:42 PM PDT Steve Kargl wrote:
> 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.
--
* Andrew Benson: http://users.obs.carnegiescience.edu/abenson/contact.html
* Galacticus: http://sites.google.com/site/galacticusmodel