Dear Tobias,

I cry foul at this point :-)  I have gone gallivanting off to try to
fix really horrid regressions like 52012, whilst you are have fun
doing interesting things.....

Pah!  Good call - OK for trunk

Thanks for the patch.

I notice that you are making good use of recent additions to
trans-expr.c.  Should we do trans-class.c before the release?

Paul

On Sun, Jan 29, 2012 at 7:48 PM, Tobias Burnus <bur...@net-b.de> wrote:
> Dear all,
>
> for derived type assignment one needs to call "vtab->_copy" for polymorphic
> components. Currently, this does not happen.
>
> The attached draft patch adds support for this, fixing the
> gfortran.dg/class_allocate_12.f90 test case (with STOP removed),
> chapter07/strategy_surrogate_f2003 of Damian's book, and the example of
> comment 3 of the PR - as well as the more extended attached test case.
>
> With this patch, all examples of Damian's book* now compile and run with
> gfortran. The only exception failures with polymorphic coarrays (PR 51947)
> and those examples which use unimplemented features (deferred-length
> character components and finalization subroutines). [* see
> http://www.cambridge.org/rouson]
>
> Test case issues:
> - I failed to check the result of test3 as couldn't find a way to test for
> the result without hitting PR46356 / PR51754.
> - For test4, I get an ICE for the allocate statement, cf. PR 52044.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
>
> Tobias
> <http://www.cambridge.org/rouson>
> PS: Other patches which have still to be reviewed:
> - http://gcc.gnu.org/ml/fortran/2012-01/msg00197.html (default init ICE)
> - http://gcc.gnu.org/ml/fortran/2012-01/msg00241.html (ambiguity check fix)
> - http://gcc.gnu.org/ml/fortran/2012-01/msg00247.html (FE optimization)
> <http://www.cambridge.org/rouson>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy

Reply via email to