Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flang][OpenMP] Fix FlangRuntime offload build after assign change #203

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flang/include/flang/Runtime/freestanding-tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
#define STD_MEMSET_UNSUPPORTED 1
#define STD_MEMCPY_USE_BUILTIN 1
#define STD_MEMCPY_UNSUPPORTED 1
#define STD_MEMMOVE_USE_BUILTIN 1
// #define STD_MEMMOVE_USE_BUILTIN 1 // address now taken in assign.h
#define STD_MEMMOVE_UNSUPPORTED 1
// #define STD_STRLEN_USE_BUILTIN 1 // still resolves to strlen
#define STD_STRLEN_UNSUPPORTED 1
Expand Down Expand Up @@ -162,7 +162,7 @@ static inline RT_API_ATTRS void *memmove(
const char *from{reinterpret_cast<const char *>(src)};

if (to == from) {
return;
return dest;
}
if (to + count <= from || from + count <= to) {
memcpy(dest, src, count);
Expand Down