tblah wrote:

> How would `flang-new -fno-fortran-main t.f -lFortran_main` work?

This works because I only remove `-lFortran_main` when it is going to be added 
implicitly. `-fno-fortran-main` ensures that we never reach this branch. I've 
added a test to verify this.

https://github.com/llvm/llvm-project/pull/78152
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to