[flang-commits] [clang] [flang] [lld] [flang] Generate main only when a Fortran program statement is present (PR #89938)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Thu Apr 25 13:32:26 PDT 2024


banach-space wrote:

Great work David, thanks! Could you add some documentation explaining _where_ `main` would be coming from in the case of mixed-source compilation? In fact, is that tested anywhere?

Also, IMHO it would be good to advertise this on Discourse (thinking specifically about `-fno-fortran-main`).

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


More information about the flang-commits mailing list