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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to