[PATCH] D97119: [flang][driver] Add options for -std=2018
Tim Keith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 20 10:35:29 PST 2021
tskeith added a comment.
Please make sure the test works with f18 also.
================
Comment at: flang/lib/Frontend/CompilerInvocation.cpp:294
+ // We only allow 2018 as the given standard
+ if (standard.equals("2018")) {
+ res.SetStandard();
----------------
This should be "f2018", not "2018".
================
Comment at: flang/test/Flang-Driver/std2018.f90:18
+!-----------------------------------------
+! GIVEN: A DO loop should terminate with an END DO or CONTINUE
+
----------------
Can you verify this message is not produced when there is no -std option?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97119/new/
https://reviews.llvm.org/D97119
More information about the cfe-commits
mailing list