[PATCH] D77821: [Flang][OpenMP] Avoid abort when collapse clause value is negative

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 08:54:39 PDT 2020


DavidTruby added a comment.

My mistake, I think I forgot to click "Save Draft" on the comment! I've added it now, sorry about that.



================
Comment at: flang/lib/Semantics/resolve-names.cpp:1237
     bool withinConstruct{false};
-    std::size_t associatedLoopLevel{0};
+    int64_t associatedLoopLevel{0};
   };
----------------
Should this be std::int64_t? I don't think int64_t is guaranteed to be provided outside the std:: namespace in C++.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77821/new/

https://reviews.llvm.org/D77821





More information about the llvm-commits mailing list