Brooks, Thanks for the answer. I am puzzled by the sentence: "this should be equivalent to x%a = y (for an unallocated x%a)" Do you mean that "x = mytype(y)" could be replaced by "x%a = y"? If I do so, ifort aborts and gfortran and g95 seg fault. Dominique