http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46321
--- Comment #2 from janus at gcc dot gnu.org 2011-02-21 15:06:10 UTC --- (In reply to comment #1) > Note: There are four cases where a polymorphic deallocate is needed - though > some might end up in the same code path: > > - explicit DEALLOCATE (cf. comment 0) > - implicit deallocate at the end of the scope > - implicit deallocate via INTENT(OUT) (cf. PR 47637) > - implicit deallocate when doing polymorphic reallocate on assignment (PR > 43366) Some more things we need to consider: * explicit deallocation with STAT or ERRMSG * deallocation of allocatable components (explicit/implicit)