Re: [Patch, Fortran] Fix MOVE_ALLOC check

2011-12-03 Thread Paul Richard Thomas
Dear Tobias, On Fri, Dec 2, 2011 at 10:07 PM, Tobias Burnus wrote: > This patches fixes my previous MOVE_ALLOC patch. The standard states for TO: > "It shall be polymorphic if FROM is polymorphic." > > I somehow read this bijectively, but the it is actually allowed to have a > nonpolymorphic FROM

[Patch, Fortran] Fix MOVE_ALLOC check

2011-12-02 Thread Tobias Burnus
This patches fixes my previous MOVE_ALLOC patch. The standard states for TO: "It shall be polymorphic if FROM is polymorphic." I somehow read this bijectively, but the it is actually allowed to have a nonpolymorphic FROM with a polymorphic TO. Thanks for Damian for finding this. Build and re