This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix FMT= with CHARACTER arrays (PR fortran/39865, take 3)
Jakub Jelinek wrote:
On Wed, May 13, 2009 at 09:19:42AM +0200, Tobias Schlüter wrote:
My take on this: we have to support Hollerith formatting for backwards
compatibility. But we don't have to support Hollerith formatting
combined with Fortran 90 constructs, as we don't want new code written
with this ugly extension. The gaps in the arrays Jakub was talking
about can only arise with Fortran 90 constructs (viz complex :: b(:,:)
write(*, fmt=b(3,2)) 1
should give a hard error in my opinion "Error: legacy hollerith
formatting is not allowed with assumed shape array" (modulo terminology,
I always forget what is assumed-size, assumed-shape etc).
I agree, thanks for the clarifications.