------- Comment #5 from pault at gcc dot gnu dot org 2009-08-05 14:47 ------- Created an attachment (id=18305) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18305&action=view) A provisional patch for the PR
(In reply to comment #3) > The real issue is that mold->expr_type is EXPR_VARIABLE and not EXPR_ARRAY. In > gfc_simplify_transfer everything is fine: mold->expr_type is EXPR_ARRAY but in > gfc_resolve_transfer it is already wrong. Must go wrong somewhere during > resolution ... > No, this is not the problem. The fault is that the mold character length is being incorrectly set in gfc_resolve_transfer. The patch is regtesting. If there are any FAILS it will be a matter of correcting the condition. Cheers Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40847