Re: [Patch, Fortran] Polymorphism fixes: resolve checks, ucobound

2011-12-18 Thread Paul Richard Thomas
Dear Tobias, > > OK for the trunk? > OK. >> >> PS: There are still issues with polymophic coarrays; in particular, >> argument passing [cf. coarray/poly_run_1.f90] and SELECT TYPE still fail in >> various ways. > It is remarkable just how many ways [OOP] in any shape or form can fail! Adding c

Re: [Patch, Fortran] Polymorphism fixes: resolve checks, ucobound

2011-12-18 Thread Tobias Burnus
Updated patch: I missed that the attr.pointer becomes attr.class_pointer with the class container. I have updated the checks in resolve.c and added a test case. OK for the trunk? Tobias On 16.12.2011 22:10, Tobias Burnus wrote: Dear all, this patch fixes on of the FIXMEs in coarray/poly_r

[Patch, Fortran] Polymorphism fixes: resolve checks, ucobound

2011-12-16 Thread Tobias Burnus
Dear all, this patch fixes on of the FIXMEs in coarray/poly_run_1.f90 [and extends the test case] by doing in check.c the same for coarrays as already done for arrays. Additionally, I encountered bugs in the constraint checking for polymorphic variables, thus, I fixed those and added a test