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

David Truby via flang-commits flang-commits at lists.llvm.org
Thu Apr 25 18:39:24 PDT 2024


DavidTruby wrote:

As regards the backwards compatibility break here, I guess my take is that this change needs to happen some time and sooner is always going to be better than later. While we are still called flang-new and marked experimental I'm inclined to think we should just rip the band aid.

We could leave `-fno-fortran-main` in as deprecated but it won't actually do anything anymore, so that might just be confusing for users.

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


More information about the flang-commits mailing list