[all-commits] [llvm/llvm-project] d3600f: [OPENMP] Fix PR46730: Fix compiler crash on tasklo...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jul 27 07:19:02 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d3600f84c4a7a6826f33d45b2545b4e915ab3a5c
      https://github.com/llvm/llvm-project/commit/d3600f84c4a7a6826f33d45b2545b4e915ab3a5c
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/taskloop_codegen.cpp

  Log Message:
  -----------
  [OPENMP] Fix PR46730: Fix compiler crash on taskloop over constructible loop counters.

Summary:
If the variable is constrcutible, its copy is created by calling a
constructor. Such variables are duplicated and thus, must be captured.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, cfe-commits, sstefan1, caomhin

Tags: #clang

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

(cherry picked from commit 9840208db6980f690d09b209e6ad6d57133ec5e5)




More information about the All-commits mailing list