[all-commits] [llvm/llvm-project] 28c8da: [OpenMP][libomp] Fix fallthrough attribute detecti...

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Tue Jul 19 11:04:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28c8da29654dd4a3da675dfcafbb70f357a7e1bd
      https://github.com/llvm/llvm-project/commit/28c8da29654dd4a3da675dfcafbb70f357a7e1bd
  Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M openmp/runtime/src/kmp_os.h
    M openmp/tools/archer/ompt-tsan.cpp

  Log Message:
  -----------
  [OpenMP][libomp] Fix fallthrough attribute detection for Intel compilers

icc does not properly detect lack of fallthrough attribute since it
defines __GNU__ > 7 and also icc's __has_cpp_attribute/__has_attribute
feature detectors do not properly detect the lack of fallthrough attribute.

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




More information about the All-commits mailing list