[Patch, Fortran] PR57530 (Part 2 of 3) Support TYPE => CLASS

Tobias Burnus burnus@net-b.de
Sat Jul 27 09:51:00 GMT 2013


Hi Janus,

Janus Weil wrote:
>> OK for the trunk?
>
> yes, the patch looks basically ok to me. Just one thing I did not
> quite understand:
>
> +      /* It can happen that the LHS has BT_DERIVED but it is in reality
> +     a polymorphic variable.  */
>
> How exactly can it happen that a polymorphic variable is BT_DERIVED?

I don't know. I commented it and it still works with the new test cases 
- it failed with one of them before. Probably some other change in this 
patch fixed the issue. As I cannot reproduce it anymore - and as I 
didn't like it either, I will remove it.

OK for the trunk without that bit?

Tobias



More information about the Fortran mailing list