------- Comment #3 from burnus at gcc dot gnu dot org  2006-11-23 11:39 -------
> In iresolve.c gfortran only checks whether the source is scalar or an array,
This is none sense it actually checks the mold-rank.

The function to modify is gfc_conv_intrinsic_transfer (trans-intrinsic.c);
we somewhere need to obtain for character strings their byte size.
gfc_conv_intrinsic_array_transfer seems to do the right thing.

For "character(len=2) :: byte_array(2)" it works,
for character(len=4) :: byte_array(1)" it does not.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29951

Reply via email to