[patch, fortran] PR 37721, warn about target > source in TRANSFER
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Aug 5 21:23:00 GMT 2011
On Fri, Aug 05, 2011 at 10:38:44PM +0200, Thomas Koenig wrote:
> Hello world,
>
> the attached patch fixes PR 37721 by moving the check for TRANSFER size
> mismatches to checking, away from simplification. That means that it is
> possible to check character MOLDs whose size is constant, but which
> aren't constant themselves.
>
> I added the extra argument to gfc_target_interpret_expr because for a
> TRANSFER, we want a binary copy and not a conversion between wide and
> normal characters.
>
> Regression-tested. OK for trunk?
>
OK.
--
Steve
More information about the Fortran
mailing list