]> granicus.if.org Git - clang/commit
[OPENMP]Fix for PR43349: Crash for privatized loop bound.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 18 Sep 2019 19:24:07 +0000 (19:24 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 18 Sep 2019 19:24:07 +0000 (19:24 +0000)
commit358084ecfd0201984272d1dd69d3acad51154d02
tree3fe9a3e234e4138953b588967b00b7dab8864f48
parent145d99a86a154481fd062c3702b025094a70aacd
[OPENMP]Fix for PR43349: Crash for privatized loop bound.

If the variable, used in the loop boundaries, is not captured in the
construct, this variable must be considered as undefined if it was
privatized.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372252 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/parallel_for_codegen.cpp