This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [EXTERNAL] Re: [Patch, F03, RFC] FINAL support in 4.8


Hi guys,

>> I think I found the bug after your remark.
>>
> Yeah, the fix makes sense.

thanks for nailing this one down! I'm attaching an updated patch which
includes this fix (and still regtests cleanly).

I also verified that the patch correctly fixes the memory leaks in the
poly-dealloc examples of PR 46321 and PR 51160.

Btw, there is an example code for finalization of derived-type
components in PR 37336 (comment 6). Note that the finalization routine
is currently not called for this test case ...

Cheers,
Janus

Attachment: final-2012-10-26.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]