[PATCH] D137995: [Flang][Driver] Handle target CPU and features

Usman Nadeem via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 17:46:00 PST 2022


mnadeem added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Flang.cpp:99
+  default:
+    // Untested for other targets but should work generally.
+    break;
----------------
mnadeem wrote:
> kiranchandramohan wrote:
> > I get a segfault in ` Fortran::frontend::CodeGenAction::setUpTargetMachine()` currently when using `./bin/flang-new --target=x86_64-linux-gnu  file.f90`
> I am unable to reproduce this, do you have your toolchain built for x86 target as well?
It might be unrelated to this patch.


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

https://reviews.llvm.org/D137995



More information about the cfe-commits mailing list