Re: [Fortran, Patch] PR 51972 - deep copy of class components

2012-01-29 Thread Paul Richard Thomas
Dear Tobias, > Well, that way my revenge for not getting a review for my > default-initializer patch since over a week ... ;-) To be perfectly frank, I was hoping that somebody else would get their ass in gear :-) I'll do it. Paul

Re: [Fortran, Patch] PR 51972 - deep copy of class components

2012-01-29 Thread Tobias Burnus
Dear Paul, thanks for the review! 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. Well, that way my revenge for not getting a review for my default-initializer patch since ove

Re: [Fortran, Patch] PR 51972 - deep copy of class components

2012-01-29 Thread Paul Richard Thomas
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 tra

[Fortran, Patch] PR 51972 - deep copy of class components

2012-01-29 Thread Tobias Burnus
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