This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45827] mio_component_ref(): Component not found when mixing f90 and f03 in large projects
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Oct 2010 19:59:25 +0000
- Subject: [Bug fortran/45827] mio_component_ref(): Component not found when mixing f90 and f03 in large projects
- Auto-submitted: auto-generated
- References: <bug-45827-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827
--- Comment #29 from Mikael Morin <mikael at gcc dot gnu.org> 2010-10-24 19:59:20 UTC ---
(In reply to comment #28)
> There is a quality of implementation issue going on here. Our goal has always
> been "zero" leaks. The reason? These errors can and do mask other things
> going on. This to me looks like some pointers are being whacked. maybe
> previously allocated space being reused that should not be. At this point
> no-one knows.
>
The testsuite shows that gfortran mostly works. Based on that, the memory leaks
are probably harmless, and I assume they are. But of course you're completely
right.
Here, the fact that the gfc_typebound_proc structs are never freed doesn't help
for the "zero leak" goal.