[Patch, fortran] PRs 70752 and 72709 - more deferred character length bugs

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Sep 26 16:24:00 GMT 2018


Hi Dominique,

Thanks for the heads up - I will check it out and fix it next week
before doing any commits.

Cheers

Paul


On 26 September 2018 at 16:52, Dominique d'Humières <dominiq@lps.ens.fr> wrote:
>> Is se->string_length guaranteed to be of type gfc_array_index_type_here?
>> If so, why? And if not, maybe a fold_convert is in order?
>
> I don’t know if this related, but if I build gfortran with the patches for PRs 70752 and 72709, 70149, and 65677 with --enable-checking=yes, compiling the test in pr82617 gives an ICE:
>
> pr82617.f90:68:0:
>
> 68 |           items(i_item) = str(i0:i1-1)
>    |
> internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in get_array_span, at fortran/trans.c:301
>
> Cheers,
>
> Dominique
>



-- 
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein



More information about the Gcc-patches mailing list