[Bug fortran/39189] Improvement in handling COMMON'ed pointers to allocatable arrays

2009-02-18 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2009-02-19 05:40 --- I agree with Steve and have marked this as WONTFIX. You should use another pointer and allocate to that if you want to avoid the automatic deallocation on leaving scope. Paul -- pault at gcc dot gnu dot org chang

[Bug fortran/39189] Improvement in handling COMMON'ed pointers to allocatable arrays

2009-02-14 Thread kargl 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.