[flang-commits] [flang] [llvm] [Flang][OpenMP][Runtime] Minor Flang runtime for OpenMP AMDGPU (PR #152631)

via flang-commits flang-commits at lists.llvm.org
Tue Aug 19 08:13:22 PDT 2025


================
@@ -204,8 +204,8 @@ void FORTRAN_PROCEDURE_NAME(getarg)(
 void FORTRAN_PROCEDURE_NAME(getlog)(char *arg, std::int64_t length) {
 #if _REENTRANT || _POSIX_C_SOURCE >= 199506L
   if (length >= 1 && getlogin_r(arg, length) == 0) {
-    auto loginLen{std::strlen(arg)};
-    std::memset(
+    auto loginLen{Fortran::runtime::strlen(arg)};
----------------
agozillon wrote:

Went back over these to double check and removed Fortran:: from this one, the others appear to need the namespace prefix at the moment or get undeclared identifier errors.

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


More information about the flang-commits mailing list