[Bug fortran/68216] [F2003] IO problem with allocatable, deferred character length arrays
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 7 14:05:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68216
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
I had a devil of a job fixing the second testcase, from "Blockbuster", in the
clf thread above:
program testdefchar
implicit none
character(:), allocatable :: test(:)
allocate(character(3) :: test(2))
test(1) = 'abc'
test(2) = 'def'
write(*,*) test(1), test(2)
test = ['aa','bb','cc']
write(*,*) test(1), test(2), test(3)
end program testdefchar
The fix is now regtesting.
Paul
More information about the Gcc-bugs
mailing list