[flang-commits] [flang] [flang] Add support for the IARGC and GETARG legacy intrinsics (PR #196425)

via flang-commits flang-commits at lists.llvm.org
Sun May 10 16:02:37 PDT 2026


================
@@ -376,6 +376,9 @@ end
 * Legacy names `AND`, `OR`, and `XOR` are accepted as aliases for
   the standard intrinsic functions `IAND`, `IOR`, and `IEOR`
   respectively.
+* Legacy GNU intrinsics 'IARGC()' and 'GETARG(POS, VALUE)' are
----------------
Tuhil926 wrote:

I've added the proper documentation there now (Mostly referencing the gnu documentation). I wasn't sure if I should add them next to some other non-standard intrinsics that are similar, so I just added them at the end. Please let me know if you'd like me to move them somewhere else in the file.

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


More information about the flang-commits mailing list