------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-16 03:31 ------- Only the module is needed to reproduce the bug: module helper implicit none contains function dud(x) integer, intent(in) :: x character(selected_int_kind(x)+2) dud
dud(1:1) = 'c' end function dud end module helper -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18883