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

Tobias Burnus burnus@net-b.de
Mon Feb 6 22:27:00 GMT 2012


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?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class-to-type.diff
Type: text/x-patch
Size: 3085 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120206/baae396f/attachment.bin>


More information about the Fortran mailing list