[PATCH] D95449: [flang] Fix problems with constant arrays with lower bounds that are not 1
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 15:09:50 PST 2021
tskeith added inline comments.
================
Comment at: flang/lib/Evaluate/check-expression.cpp:320
+ x.set_lbounds(std::move(*lbounds_));
+ return x;
+ }
----------------
I think this needs to be `return std::move(x);`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95449/new/
https://reviews.llvm.org/D95449
More information about the llvm-commits
mailing list