------- Comment #4 from pinskia at gcc dot gnu dot org 2006-11-24 03:00 ------- (In reply to comment #2) > Confirmed. > For "transfer(string, integer)", gfortran's transfer only uses the first > character (byte). > It should use all characters. > > -fdump-tree-original: > value = VIEW_CONVERT_EXPR<int4>(byte_string[1]{lb: 1 sz: 1});
Hmm, I think this is only a bug in 4.3.0 but this was reported against 4.2.0. The above VCE is my fault and I have to figure that out but I think there is something else going wrong if it fails for 4.2.0 since my VCE patch was not applied there. I guess I might have revert the VCE patch and create a new one with memcpy and just hope someone optimizes memcpy better. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29951