[flang-commits] [flang] [flang] Handle missing LOGIN_NAME_MAX definition in runtime (PR #77775)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Fri Jan 12 03:09:03 PST 2024


yi-wu-arm wrote:

> I happened to notice that @kazutakahirata silently fixed the issue slightly differently in [fb09447](https://github.com/llvm/llvm-project/commit/fb09447132cb192a0ef5082d4a4bae30f893e501) and [18734f6](https://github.com/llvm/llvm-project/commit/18734f606635f4f4270f911b68060890ce3dd94a).

@klausler notice a problem in this two fixes, https://flang-compiler.slack.com/archives/C5C58TT32/p1705019662369869
"also, i think that somebody must have introduced a dependency between the Fortran runtime library and the C++ runtime via use of operator new rather than calling runtime::AllocateMemory(). … probably via use of std::vector<> in the runtime (getlog in extensions.cpp)"

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


More information about the flang-commits mailing list