[Bug fortran/85781] ICE in gfc_build_array_ref, at fortran/trans.c:393
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85781 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED CC||burnus at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Tobias Burnus --- FIXED for GCC 10. Thanks for the report!
[Bug fortran/85781] ICE in gfc_build_array_ref, at fortran/trans.c:393
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85781 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:86075aa5dd0b1ed3f6c9c67d0d3058c6c5c19d65 commit r10-6240-g86075aa5dd0b1ed3f6c9c67d0d3058c6c5c19d65 Author: Tobias Burnus Date: Mon Jan 27 10:13:27 2020 +0100 fortran] Fix PR 85781, ICE on valid PR fortran/85781 * trans-expr.c (gfc_conv_substring): Handle non-ARRAY_TYPE strings of Bind(C) procedures. PR fortran/85781 * gfortran.dg/bind_c_char_2.f90: New. * gfortran.dg/bind_c_char_3.f90: New. * gfortran.dg/bind_c_char_4.f90: New. * gfortran.dg/bind_c_char_5.f90: New.
[Bug fortran/85781] ICE in gfc_build_array_ref, at fortran/trans.c:393
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85781 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-05-14 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed.
[Bug fortran/85781] ICE in gfc_build_array_ref, at fortran/trans.c:393
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85781 --- Comment #1 from G. Steinmetz --- 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