[all-commits] [llvm/llvm-project] 984020: [OPENMP] Fix PR46730: Fix compiler crash on tasklo...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Jul 24 07:49:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9840208db6980f690d09b209e6ad6d57133ec5e5
https://github.com/llvm/llvm-project/commit/9840208db6980f690d09b209e6ad6d57133ec5e5
Author: Alexey Bataev <a.bataev at hotmail.com>
Date: 2020-07-24 (Fri, 24 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
More information about the All-commits
mailing list