This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add -fsyntax-only to f18; retain -fparse-only synonym
ClosedPublic

Authored by klausler on Feb 2 2021, 11:00 AM.

Details

Summary

Now that semantics is working, the standard -fsyntax-only option of
GNU and Clang should be used as the name of the option that causes
f18 to just run the front-end. Support both options in f18, silently
accepting the old option as a synonym for the new one (as
preferred by the code owner), and replace all instances of the
old -fparse-only option with -fsyntax-only throughout the source base.

Diff Detail

Event Timeline

klausler created this revision.Feb 2 2021, 11:00 AM
klausler requested review of this revision.Feb 2 2021, 11:00 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler updated this revision to Diff 320872.Feb 2 2021, 11:55 AM
klausler retitled this revision from [flang] Deprecate -fparse-only to [flang] Add -fsyntax-only to f18; retain -fparse-only synonym.
klausler edited the summary of this revision. (Show Details)

sscalpone prefers to have no warning, so it's been removed.

clementval accepted this revision.Feb 2 2021, 12:01 PM
This revision is now accepted and ready to land.Feb 2 2021, 12:01 PM
tskeith accepted this revision.Feb 2 2021, 12:49 PM
awarzynski accepted this revision.Feb 3 2021, 5:10 AM
This revision was landed with ongoing or failed builds.Feb 3 2021, 9:02 AM
This revision was automatically updated to reflect the committed changes.