diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-11-22 13:47:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 13:47:16 -0600 |
| commit | e83cc896e7c2378914a391f942c188d454b517d2 (patch) | |
| tree | 4fc504e003a48e63e45b76aa824a51489e6acc34 | |
| parent | 8baa5bf499e6bf2f43ec7fddf9601524159ec5ea (diff) | |
[flang][OpenMP] Fix build with gcc 7.5.0 (#169184)
| -rw-r--r-- | flang/lib/Parser/openmp-parsers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/lib/Parser/openmp-parsers.cpp b/flang/lib/Parser/openmp-parsers.cpp index a0c94296de5e..0652dac209db 100644 --- a/flang/lib/Parser/openmp-parsers.cpp +++ b/flang/lib/Parser/openmp-parsers.cpp @@ -71,7 +71,7 @@ template <typename ExecParser> struct AsBlockParser { if (auto &&exec{attempt(epc_).Parse(state)}) { Block body; body.push_back(std::move(*exec)); - return body; + return std::move(body); // std::move for GCC 7.5.0 } return std::nullopt; } |
