This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Oct 2010 22:23:04 +0000
- Subject: [Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables
- Auto-submitted: auto-generated
- References: <bug-35810-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35810
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-25 22:22:49 UTC ---
(In reply to comment #6)
> Note in Fortran 2008 (cf. PR 41719),
> polymorphic-variable = expr
> is allowed iff the variable is allocatable.
And note further that this is nontrivial as it requires a deep copy, cf. PR
46174.
* * *
Newer draft patch for realloc on assignment (w/o the polymorphic assignment):
http://gcc.gnu.org/ml/fortran/2010-10/msg00213.html