[flang-commits] [flang] [flang][driver] do not crash when fc1 process multiple files (PR #138875)
via flang-commits
flang-commits at lists.llvm.org
Fri May 9 01:32:33 PDT 2025
jeanPerier wrote:
> I'm not opposed to flang -fc1 accepting it even though clang -cc1 doesn't, but I'm not actually clear what the expected behavior would be with flang -fc1 accepting multiple input files. What happens with this change?
With this change, instead of crashing, `flang -fc1 -emit-obj bar.f90 foo.f90` now emits two object files, `bar.o` and `foo.o` (just like if they had been processed individually).
https://github.com/llvm/llvm-project/pull/138875
More information about the flang-commits
mailing list