DanielCChen wrote:

Ok. I see. The Fortran `main` is actually coming out of internal compiler 
generated code rather than user code. 
It seems users who have Fortran-C-interop code will need to toggle the 
`-fno-fortran-main` option ON and OFF depends on who the `main` is.
I think there are some real issues on AIX as Kelvin mentioned on top of what we 
have encountered on Linux. However, these issues are not directly related to 
this PR. 
Thanks to all for the response and explanation!

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

Reply via email to