This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/57096] Allocatable variable is not behaved as expected


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #4 from janus at gcc dot gnu.org 2013-04-30 21:10:51 UTC ---
(In reply to comment #3)
> Removing the -std=f2003 or putting the module into the same file as the
> subroutine makes the auto-deallocation (and nullification) go away. Puzzling.

I think the reason why it works with -std=f2008 is that module variables
implicitly get the SAVE attribute in F08.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]