[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 07:47:06 PDT 2025


================
@@ -276,13 +276,13 @@ static void DateAndTimeUnavailable(Fortran::runtime::Terminator &terminator,
     char *zone, std::size_t zoneChars,
     const Fortran::runtime::Descriptor *values) {
   if (date) {
-    std::memset(date, static_cast<int>(' '), dateChars);
+    Fortran::runtime::memset(date, static_cast<int>(' '), dateChars);
----------------
agozillon wrote:

I believe it is necessary to have the Fortran:: prefix in the remaining locations, it incurs an compile time error otherwise. And the Fortran:: prefix is used elsewhere in these files e.g. the input parameter in the above case.

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


More information about the flang-commits mailing list