------- 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