[Patch, fortran] PR84074 Incorrect indexing of array when actual argument is an array expression and dummy is polymorphic
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Feb 11 18:30:00 GMT 2018
Committed as revision 257564 with the comment reworded.
Thanks
Paul
On 11 February 2018 at 16:37, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> On Sun, Feb 11, 2018 at 03:08:52PM +0000, Paul Richard Thomas wrote:
>>
>> PR fortran/84074
>> * trans-expr.c (gfc_conv_derived_to_class): Set the use_offset
>> flag. If the is a vector subscript or the expression is not a
>> variable, make the descriptor one-based.
>
>
> "If the is a" ?
>
>> +
>> + /* Vector array references and non-variable expressions need be
>> + coverted to one-based descriptors. */
>
> s/coverted/converted
>
>
> OK with the above fixed.
>
> --
> steve
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein
More information about the Fortran
mailing list