We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 305d273 commit 724b91bCopy full SHA for 724b91b
flang/include/flang/Runtime/freestanding-tools.h
@@ -88,7 +88,7 @@ static inline RT_API_ATTRS void *memmove(
88
const char *from{reinterpret_cast<const char *>(src)};
89
90
if (to == from) {
91
- return;
+ return dest;
92
}
93
if (to + count <= from || from + count <= to) {
94
std::memcpy(dest, src, count);
0 commit comments