This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39189] Improvement in handling COMMON'ed pointers to allocatable arrays
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2009 16:00:18 -0000
- Subject: [Bug fortran/39189] Improvement in handling COMMON'ed pointers to allocatable arrays
- References: <bug-39189-17302@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2009-02-14 16:00 -------
I'm inclined to think that this should be closed with WONTFIX.
Deallocation of an allocated array when a subprogram returns
is a fundamental concept of Fortran. A user should know what
to expect and code accordingly.
I'll let one of the other gfortran contributors make a final
determination of the merits of a warning.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39189