[flang][f18] Remove unimplemented options (NFC)
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Thu, 5 Nov 2020 18:33:27 +0000 (18:33 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Thu, 5 Nov 2020 18:35:35 +0000 (18:35 +0000)
These options are in practice passes to the external tool (defined with
F18_FC), i.e. fall into "unrecognised" category. No need to keep them
among other options that are actually parsed.

flang/tools/f18/f18.cpp

index dfdb93c..02ebf06 100644 (file)
@@ -525,7 +525,6 @@ int main(int argc, char *const argv[]) {
       driver.measureTree = true;
     } else if (arg == "-fdebug-instrumented-parse") {
       options.instrumentedParse = true;
-    } else if (arg == "-fdebug-semantics") {
     } else if (arg == "-fdebug-no-semantics") {
       driver.debugNoSemantics = true;
     } else if (arg == "-funparse") {
@@ -565,8 +564,6 @@ int main(int argc, char *const argv[]) {
       } else {
         driver.F18_FCArgs.push_back("-fdefault-integer-8");
       }
-    } else if (arg == "-Mlargearray") {
-    } else if (arg == "-Mnolargearray") {
     } else if (arg == "-flarge-sizes") {
       defaultKinds.set_sizeIntegerKind(8);
     } else if (arg == "-fno-large-sizes") {