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

Tom Eccles via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 04:09:04 PDT 2024


================
@@ -6582,12 +6582,6 @@ def J : JoinedOrSeparate<["-"], "J">,
   Group<gfortran_Group>,
   Alias<module_dir>;
 
-let Visibility = [FlangOption] in {
-def no_fortran_main : Flag<["-"], "fno-fortran-main">,
----------------
tblah wrote:

Will this break existing build systems configured to use this flag?

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


More information about the cfe-commits mailing list