[patch, fortran] PR 37721, warn about target > source in TRANSFER
Mikael Morin
mikael.morin@sfr.fr
Fri Aug 5 22:40:00 GMT 2011
On Friday 05 August 2011 23:57:05 Thomas Koenig wrote:
> Hi Steve,
>
> > 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?
>
> Committed as rev. 177486.
>
> Thanks for the review!
>
> Thomas
There is a typo in the PR number (in the ChangeLogs and in the testcase):
s/37221/37211/
Thanks
Mikael
More information about the Fortran
mailing list