This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40440] Automatic deallocation component of DT function return value
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2009 21:15:33 -0000
- Subject: [Bug fortran/40440] Automatic deallocation component of DT function return value
- References: <bug-40440-15192@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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