Hi Dominique,

It's the patch for pr70752 that causes the trouble, which I had
guessed from the point in trans.c where the ICE occurs. I am onto it.

Thanks again

Paul

On Wed, 26 Sep 2018 at 16:52, Dominique d'Humières <domi...@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

Reply via email to