[flang-commits] [clang] [flang] [llvm] [openmp] [flang][driver] rename flang-new to flang (PR #110023)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Fri Oct 4 03:40:30 PDT 2024
================
@@ -787,6 +787,9 @@ void Flang::ConstructJob(Compilation &C, const JobAction &JA,
if (Args.hasArg(options::OPT_fopenmp_force_usm))
CmdArgs.push_back("-fopenmp-force-usm");
+ // TODO: OpenMP support isn't "done" yet, so for now we warn that it
+ // is experimental.
+ D.Diag(diag::warn_openmp_experimental);
----------------
tblah wrote:
Please could you add a test that this warning is printed. `flang/test/Driver/fopoenmp.f90` would be a good place. There is an example in the file already checking for a warning.
https://github.com/llvm/llvm-project/pull/110023
More information about the flang-commits
mailing list