]> granicus.if.org Git - clang/commit
[OPENMP] Fix for http://llvm.org/PR24674: assertion failed and and abort trap
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 4 Sep 2015 11:26:21 +0000 (11:26 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 4 Sep 2015 11:26:21 +0000 (11:26 +0000)
commit2b35206250c25d510a671b144170f1f4fcf4e7b1
tree31d8b311a2275b8023801786417a00c97d5d825c
parent67a6ff6a96c40e4538fb29881ae00ac88e536f17
[OPENMP] Fix for http://llvm.org/PR24674: assertion failed and and abort trap
Fix processing of shared variables with reference types in OpenMP constructs. Previously, if the variable was not marked in one of the private clauses, the reference to this variable was emitted incorrectly and caused an assertion later.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
test/OpenMP/critical_codegen.cpp
test/OpenMP/for_firstprivate_codegen.cpp
test/OpenMP/for_lastprivate_codegen.cpp
test/OpenMP/for_linear_codegen.cpp
test/OpenMP/for_private_codegen.cpp
test/OpenMP/for_reduction_codegen.cpp
test/OpenMP/simd_codegen.cpp
test/OpenMP/single_codegen.cpp