------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-08-30 15:23 ------- Confirmed. Reduced testcase:
type glcptr character(len=2) :: addr end type glcptr type(glcptr) :: ptr print *, ichar(ptr%addr(1:1)) end The type declaration is needed to exhibit the bug, and the fact that addr is not of length 1 is needed: it looks like the check for the argument of ichar is not done on ptr%addr(1:1) but on ptr%addr (which is not of length 1). -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-08-30 15:23:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23635