PR29098 - allocation of a pointer to a derived type crashes

Paul Thomas paulthomas2@wanadoo.fr
Sun Sep 17 06:00:00 GMT 2006


Steve,

>(i) seems clean.  Should gfortran issue a warning about the 
>unitialized components being forcibly initialized?
>
>  
>
My thought was not to, since their state is undefined.  However, the 
decision just made itself; characters die a horrible death, when fed an 
EXPR_NULL.  I will fix up a reduced resolve_actual_arglist, or some way 
to signal that default initializers were the problem in gfc_resolve_expr.

Paul



More information about the Fortran mailing list