This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] PR 25716: Implicit kind conversions in in expressions written to *.mod-files
On Wed, Jan 25, 2006 at 01:23:34AM +0200, Erik Edelmann wrote:
> On Wed, Jan 25, 2006 at 12:20:28AM +0100, Tobias Schlüter wrote:
> > Erik Edelmann wrote:
> > ... in gfc_commit_symbol
> > > + if (sym->old_symbol != NULL)
> > > + {
> > > + gfc_free (sym->old_symbol);
> >
> > I see this is the same as in gfc_commit_symbols, but can you tell me why not
> > gfc_free_symbol?
>
> Umm, no. I just brain-lessly copied it from gfc_commit_symbols.
> Using gfc_free_symbol would probably be better (in both
> functions).
Except that replacing gfc_free with gfc_free_symbol here gives a
vast amount of testcase failures. I'll investigate it closer
tomorrow (it's getting late).
Erik