------- Comment #7 from dominiq at lps dot ens dot fr 2009-04-17 22:42 ------- Compiling the code in comment #1 gives:
[ibook-dhum] f90/bug% gfc42 pr31243.f90 pr31243.f90:12.15: print *, len(ch) 1 Error: Result of LEN overflows its kind at (1) It compiles with -fdefault-integer-8 and gives 4294967300 4 when executed. Note that "print *,ch(1:2_8**32_8+3_8)" prints three spaces and the value of 'i' in the subroutine is 4294967300. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31243