[llvm-bugs] [Bug 50640] New: OpenMP target clause implicitly scaling loop bounds to uint64_t
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 9 05:42:36 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50640
Bug ID: 50640
Summary: OpenMP target clause implicitly scaling loop bounds to
uint64_t
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: OpenMP
Assignee: a.bataev at hotmail.com
Reporter: huberjn at ornl.gov
CC: huberjn at ornl.gov, llvm-bugs at lists.llvm.org
When `#pragma omp target teams distribute parallel for` is applied to a loop it
is implicitly scaling the loop's upper bound to be an unsigned long. This
causes warnings if the `-Wsign-compare` option is set even if the comparisons
are of the same type.
https://godbolt.org/z/TPr5h3roe
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210609/38062fbb/attachment.html>
More information about the llvm-bugs
mailing list