[flang-commits] [PATCH] D126291: [flang][Driver] Update link job on windows

Markus Mützel via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jun 9 02:45:26 PDT 2022


mmuetzel added a comment.

Should this be conditional on the command line flag `-flang-experimental-exec` for the time being (like for the GNU toolchain)?
See D122008 <https://reviews.llvm.org/D122008>



================
Comment at: clang/lib/Driver/ToolChains/MSVC.cpp:133
 
+  if (C.getDriver().IsFlangMode()) {
+    tools::addFortranRuntimeLibraryPath(TC, Args, CmdArgs);
----------------
The GNU toolchain has this conditional on `Args.hasArg(options::OPT_flang_experimental_exec)`.
Should this require that command line flag on MSVC, too?

Same for the MinGW toolchain file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126291/new/

https://reviews.llvm.org/D126291



More information about the flang-commits mailing list