------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-03-28 22:50
-------
Same thing happens for local variables, character arguments and character
functions... Example of the first case:
subroutine foo(i)
integer(kind=8), intent(in) :: i
character(len=i) :: x
print *, len(x)
end subroutine foo
program main
character (len=2_8**32_8+4_8) :: ch
ch = ' '
print *,ch(1:2_8**32_8+3_8)
print *, len(ch)
call foo(2_8**32_8+4_8)
end program main
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-03-17 20:06:45 |2007-03-28 22:50:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31243