This is an archive of the discontinued LLVM Phabricator instance.

[flang] Admit trailing blanks when checking I/O specifiers
ClosedPublic

Authored by klausler on Jul 22 2022, 12:10 PM.

Details

Summary

Fortran specifically allows character-valued I/O specifiers
to have trailing blanks, e.g. OPEN(666,STATUS='SCRATCH ').
The runtime I/O library already handles them, but the I/O
static checks in semantics do not.

Diff Detail

Event Timeline

klausler created this revision.Jul 22 2022, 12:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2022, 12:10 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jul 22 2022, 12:10 PM
vdonaldson accepted this revision.Jul 22 2022, 1:04 PM
This revision is now accepted and ready to land.Jul 22 2022, 1:04 PM