This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enforce fixed form rules about END continuation
ClosedPublic

Authored by klausler on Sep 16 2021, 2:57 PM.

Details

Summary

From subclause 6.3.3.5: a program unit END statement cannot be
continued in fixed form, and other statements cannot have initial
lines that look like program unit END statements. I think this
is to avoid violating assumptions that are important to legacy
compilers' statement classification routines.

Diff Detail

Event Timeline

klausler created this revision.Sep 16 2021, 2:57 PM
klausler requested review of this revision.Sep 16 2021, 2:57 PM
PeteSteinfeld accepted this revision.Sep 16 2021, 3:07 PM

Looks great!

This revision is now accepted and ready to land.Sep 16 2021, 3:07 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 10:59 AM