[all-commits] [llvm/llvm-project] ffca74: [OpenMP] Fix sign comparison warnings from GCC

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Tue Feb 2 08:53:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffca74b8b82f0af0d213bffa59c40b10449fd05f
      https://github.com/llvm/llvm-project/commit/ffca74b8b82f0af0d213bffa59c40b10449fd05f
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M openmp/runtime/src/kmp_affinity.cpp

  Log Message:
  -----------
  [OpenMP] Fix sign comparison warnings from GCC

New affinity patch introduced legitimate sign-compare warnings that
clang doesn't report but GCC-10 does. This removes the warnings by
changing two variables types to unsigned.

Differential Revision: https://reviews.llvm.org/D95818




More information about the All-commits mailing list