------- Comment #11 from burnus at gcc dot gnu dot org 2009-06-18 21:15 ------- (In reply to comment #10) > Yes, I understood after a bit of dyslexia about it :-( > > Since the function result is a pointer, it is an ultimate component and, I > think, the deallocation of the allocatable components should not be attempted.
I agree that no deallocation should happen. (Sorry for claiming so before.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40440