[Bug fortran/87430] [7/8/9 Regression] ICE in fortran/trans-types.c:1157

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 25 15:16:00 GMT 2018


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

--- Comment #2 from janus at gcc dot gnu.org ---
Slightly reduced/modified test case:


subroutine lexical_preprocessing(elements)
  implicit none
  character(len=10), dimension(:) :: elements

  do i=2, size(elements)
    associate(el => elements(i))
      print *, el(1:2)
    end associate
  end do
end subroutine


More information about the Gcc-bugs mailing list