• pault's avatar
    2005-05-30 Paul Thomas <pault@gcc.gnu.org> · dc5fe211
    pault authored
    	PR fortran/18109
    	PR fortran/18283
    	PR fortran/19107
    	* fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the
    	string length from the expression typespec character length value
    	and set temp_ss->stringlength and backend_decl. Obtain the
    	tree expression from gfc_conv_expr rather than gfc_conv_expr_val.
    	Dereference the expression to obtain the character.
    	* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
    	dereference of scalar character pointer structure components.
    	* fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the
    	string length for the structure component from the component
    	expression.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100400 138bc75d-0d04-0410-961f-82ee72b054a4
    dc5fe211
trans-expr.c 61.4 KB