[flang-commits] [flang] [flang] GETPID runtime and lower intrinsic implementation (PR #70442)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Oct 27 05:02:21 PDT 2023


================
@@ -23,6 +24,10 @@ extern "C" {
 // integer kind.
 std::int32_t RTNAME(ArgumentCount)();
 
+// ??.?.??
----------------
kiranchandramohan wrote:

That number is generally from the standard, the section number. Since this is not part of the Fortran standard, there won't be a number here.

You might also want to add a comment on why this could not be implemented like `iargc`.

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


More information about the flang-commits mailing list