Missing defined assignment call for component of parent type

Tobias Burnus burnus@net-b.de
Sat Dec 11 22:25:00 GMT 2010


Rouson, Damian wrote:
> When an intrinsic assignment occurs for an extended type, gfortran does not
> call the defined assignment for a component of the parent type.  I think
> this is a bug.  Given the code below, IBM XL Fortran 13.1 executes the print
> statement inside the defined assignment.  Gfortran does not.

I also believe that it is a bug - but gfortran is not alone. Cray ftn 
does neither and ifort 12 (older beta) and my dated NAG f95 5.1 both ICE.

I have now filled a PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46897

Tobias



More information about the Fortran mailing list