------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 15:15 ------- Reduced testcase: module problem contains subroutine compare_words character(len=1), dimension(:), pointer :: word1 call print_word(chararray2string(word1)) end subroutine compare_words subroutine print_word(word1) character(len=*), intent(in) :: word1 ! input end subroutine print_word function chararray2string(chararray) result(text) character(len=1), dimension(:) :: chararray ! input character(len=size(chararray)) :: text ! output end function chararray2string end module problem
Which means this is a dup of bug 15326. *** This bug has been marked as a duplicate of 15326 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23654