[Bug fortran/85781] ICE in gfc_build_array_ref, at fortran/trans.c:393

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon May 14 19:12:00 GMT 2018


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

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Some variants that are actually compiling :


$ cat z2.f90
subroutine s(x) bind(c)
   use iso_c_binding, only: c_char
   character(kind=c_char), value :: x
   print *, x(1:0)
end


$ cat z3.f90
subroutine s(x)
   use iso_c_binding, only: c_char
   character(kind=c_char), value :: x
   print *, x(2:1)
end


More information about the Gcc-bugs mailing list