This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/53851] Automatic silent allocation/deallocation of allocatable variables in several instances
- From: "liluli2011 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jul 2012 16:06:12 +0000
- Subject: [Bug fortran/53851] Automatic silent allocation/deallocation of allocatable variables in several instances
- Auto-submitted: auto-generated
- References: <bug-53851-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53851
--- Comment #3 from liluli2011 at gmail dot com 2012-07-06 16:06:12 UTC ---
Thank you Harald and karql. I should have read the new (or not so new) features
of the 2003 standard before posting instead of relying so much on the
comparison with ifort. In fact, (re)allocation on assignment does make sense,
although it can be also potentially dangerous. Thus it is convenient that there
are ways to disable it.