http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45516
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-29 09:18:01 UTC --- Test case by Wolfgang Kilian in the "Function questions?" thread: https://groups.google.com/d/msg/comp.lang.fortran/r4PVbtaBnFM/hufoSWKHDBIJ When handling the deallocation, we need to ensure that also the FINAL wrapper properly handles it.