[flang-commits] [flang] [flang][driver] Improve diagnostic for assembly inputs (PR #174316)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Jan 12 07:30:15 PST 2026


================
@@ -147,6 +147,31 @@ int main(int argc, const char **argv) {
   llvm::SmallVector<std::pair<int, const clang::driver::Command *>, 4>
       failingCommands;
 
+  // Reject assembly files as flang does not support assembling
----------------
tarunprabhu wrote:

A `TODO` might be helpful here as a reminder that we should support this. We should open an issue to track this, but one thing at a time.

```suggestion
  // Reject assembly files as flang does not support assembling
  // TODO: Since clang supports this, flang should too.
```

https://github.com/llvm/llvm-project/pull/174316


More information about the flang-commits mailing list