[Patch, Fortran] PR51514 - fix passing a CLASS to a TYPE

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Feb 7 06:08:00 GMT 2012


Dear Tobias,

On Mon, Feb 6, 2012 at 11:27 PM, Tobias Burnus <burnus@net-b.de> wrote:
> When passing a CLASS to a TYPE, the "_data" component wasn't added for
> scalar variables. (Polymorphic arrays are/were handled correctly.)
>
> This patch adds the _data, fixing this wrong-code issue.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?

I cannot think how I have not encountered this in the tests of the
last few months - perhaps, I have been too class-centric?

OK for trunk

Thanks for the patch.

Paul



More information about the Fortran mailing list