[PATCH] D125788: [flang][driver] Rename `flang-new` as `flang`

Kiran Chandramohan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 18 12:57:56 PDT 2022


kiranchandramohan added a comment.

In D125788#3523259 <https://reviews.llvm.org/D125788#3523259>, @shraiysh wrote:

>> clarify that execution is still restricted to developers via a flag.
>
> Just confirming what this means: After this patch, would `flang sample.f90` generate an executable? If not, how to generate an executable using `flang-new`? If yes, does this mean that if I just replace classic-flang with new llvm `flang` (along with library and include paths), I should be able to find and report bugs (expected) or run the application (best case)?

Sorry, the point I was trying to say here is that till now the `flang` script will parse, unparse and call an external compiler to do the codegen/generate executable. With this change the `flang` driver will not generate an executable unless it is built with an option. This default behaviour might be seen as a regression from the point of view of a `flang` script user.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125788



More information about the cfe-commits mailing list