[flang-commits] [clang] [flang] [flang][Driver] Support -print-supported-cpus and associated aliases (PR #117199)
Andrzej WarzyĆski via flang-commits
flang-commits at lists.llvm.org
Thu Nov 21 10:31:50 PST 2024
================
@@ -4417,7 +4417,8 @@ void Driver::BuildActions(Compilation &C, DerivedArgList &Args,
// Use the -mcpu=? flag as the dummy input to cc1.
Actions.clear();
- Action *InputAc = C.MakeAction<InputAction>(*A, types::TY_C);
+ Action *InputAc = C.MakeAction<InputAction>(
+ *A, IsFlangMode() ? types::TY_Fortran : types::TY_C);
----------------
banach-space wrote:
Unrelated change?
https://github.com/llvm/llvm-project/pull/117199
More information about the flang-commits
mailing list