mjklemm wrote: gfortran and also ifort should fail for codes that have both a program unit and a makn() function coming from C.
These compilers have a main() function that calls into the Fortran program unit and link that via an object file. Id be interested to see the link line for these compilers before we revert the PR. The behavior now should actually be consistent with these other compilers. 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