Janus Weil wrote: > the attached patch fixes a wrong-code issue with unlimited poylmorphic > INTENT(OUT) arguments. > > We default-initialize all polymorphic INTENT(OUT) arguments via the > _def_init component of the vtable. The problem is that the intrinsic > types don't have a default initialization. Therefore their _def_init > is NULL and we simply failed to check for that condition. That's what > the patch does. It regtests cleanly on x86_64-unknown-linux-gnu. > > Ok for trunk?
As you write yourself, the issue can only occur for CLASS(*). Hence, please apply this only for UNLIMITED_POLY() to avoid unneccessary code side increase and performance decrease. OK this this change. Thanks for the patch! Tobias