------- Comment #3 from burnus at gcc dot gnu dot org 2007-08-09 18:54 ------- > This is undefined code, when I rewrote most of the transfer code for scalars, > I > had asked what happens when the sizes did not match and everyone I asked said > it was undefined behavior.
Well, nonetheless gfortran could be that kind to follow NAG f95 and print "Intrinsic TRANSFER has partly undefined result". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33037