https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522

--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> By the way, the original problem is fixed on trunk by one of my recent
> deferred length character patches. You will note that some of the failing
> testcases (eg. deferred_character_2[2,3].f90 test this explicitly.

I don't think so: the original test is still giving an ICE at 264951 while the
deferred_character_2[2,3].f90 tests succeed.

My instrumented compiler gives

../../work/gcc/fortran/trans-expr.c:7970:16: runtime error: member access
within null pointer of type 'struct gfc_expr'
pr83522.f90:4:0:

4 |       write(*,*)strings(:)(:)  ! <<<< COMPILES WITHOUT THE WRITE(3f)
  | 
internal compiler error: Segmentation fault: 11

Reply via email to