[patch, fortran] PR 37721, warn about target > source in TRANSFER

Thomas Koenig tkoenig@netcologne.de
Fri Aug 5 21:57:00 GMT 2011


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



More information about the Fortran mailing list