------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-31 
17:19 -------
Subject: Bug 18283

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-05-31 17:19:12

Modified files:
        gcc/fortran    : ChangeLog trans-array.c trans-expr.c 

Log message:
        2005-05-30  Paul Thomas  <[EMAIL PROTECTED]>
        
        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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&r1=1.46&r2=1.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcc&r1=1.47&r2=1.48



-- 


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

Reply via email to