Copy class into type bug ?

Tobias Burnus burnus@net-b.de
Thu Oct 16 05:14:00 GMT 2014


patnel97269-gfortran@yahoo.fr wrote:
> I have a weird result when trying to copy a polymorphic class object into a type variable.

Confirmed. I have filled it as 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63553 ; thanks for the report!

Seems as if the address of the virtual table gets assigned instead of 
the data of the class.

Tobias



More information about the Fortran mailing list