[Bug fortran/23635] Argument of ichar at (1) must be of length one
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 30 15:25:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list