[all-commits] [llvm/llvm-project] df06ec: [libomptarget][NFC] Fix compilation issue with GCC

George Rokos via All-commits all-commits at lists.llvm.org
Tue Aug 10 09:48:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df06ec3057537a924aa5ad2d6f27a33da99817cd
      https://github.com/llvm/llvm-project/commit/df06ec3057537a924aa5ad2d6f27a33da99817cd
  Author: George Rokos <georgios.rokos at intel.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M openmp/libomptarget/src/omptarget.cpp

  Log Message:
  -----------
  [libomptarget][NFC] Fix compilation issue with GCC

Removed redundant assignment from condition which causes gcc to emit the following error:

error: operation on ‘MoveData’ may be undefined [-Werror=sequence-point]




More information about the All-commits mailing list