http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57762
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #2)
> > If it makes you happy, the following plugs the memory leak:
> >
> > --- a/gcc/testsuite/gfortran.dg/class_array_7.f03
> > +++ b/gcc/testsuite/gfortran.dg/class_array_7.f03
> > @@ -56,2 +56,3 @@ program main
> > if (trim (print_type ("a", a)) .ne. "a is base_type") call abort
> > + deallocate (a)
> > end program main
> >
> > ...
>
> Well, it makes valgrind happy.
And it certainly does not hurt to fix the test case in this regard.
> Is there any connection with PR55207 -
> Automatic deallocation of variables declared in the main program?
Yes, sure.
However, I don't directly see how the leak is related to r200084 ...