[PATCH] D95449: [flang] Fix problems with constant arrays with lower bounds that are not 1

Pete Steinfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 15:17:07 PST 2021


PeteSteinfeld added inline comments.


================
Comment at: flang/lib/Evaluate/check-expression.cpp:320
+    x.set_lbounds(std::move(*lbounds_));
+    return x;
+  }
----------------
tskeith wrote:
> I think this needs to be `return std::move(x);`
Thanks, Tim.  I'll change it.


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