[Patch, Fortran, committed] PR58652, fix CLASS(*) handling in MOVE_ALLOC

Tobias Burnus burnus@net-b.de
Tue Oct 15 06:14:00 GMT 2013


The reason for the failure was that UNLIMITED_POLY (from_expr) is no 
longer true after one did a gfc_add_vptr_component (from_expr);
As vtab is only NULL for unlimited polymorphic [CLASS(*)], I use it now 
instead.

Build and regtested on x86-64-gnu-linux.
Committed as Rev. 203586.

Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: class_move_alloc.diff
Type: text/x-patch
Size: 3799 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20131015/9a6c2485/attachment.bin>


More information about the Fortran mailing list