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/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables


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


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