This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR18082 - gfortran gets stuck in loop with automaticlength characters
Erik,
It seems that PR 21459 suffers from a very similar problem. Do
you think it would be hard to extend your patch to fix that one
as well?
Yes, it does look similar. In fact, I think that Tobi had the solution
and that the memory leak can be fixed by ensuring that the charlen's are
chained to the namespace's cl_list. I have marked it in huge letters at
the top of today's journal entry. I'll look at it when.....
PS. It's a rather impressive array of patches you have submitted
lately :-)
Once the excessive array of patches gets itself committed, I might get
to being impressed by it. I had a week of evenings trapped in a
conference centre hotel - being the third such event that I have been to
this year, with mostly the same people, I just holed up in my room with
a bottle of vino, the portable and some good music. The worst of it is
that the week was so excessively productive that there is at least as
much material again, waiting to be turned into patches/testcases. To
make the feat much less impressive, I have to say that constraints and
disaster prevention, in resolve.c, is very fertile teritory for churning
out a few fixes per night. Stopping gfortran from doing things is MUCH
easier than repairing broken bits and making it do new things.
Paul