]> granicus.if.org Git - clang/commit
[OPENMP] Fixed capturing of VLA variables.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 Nov 2016 11:16:04 +0000 (11:16 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 Nov 2016 11:16:04 +0000 (11:16 +0000)
commit824228cabe71f1e9a1db8ac5fa3a57a9705dc563
treef404d3c272766f9950968a27da51bf4ad435638e
parent4596c9c4a89dddd1e27963cddbe4d10db1fa8af8
[OPENMP] Fixed capturing of VLA variables.

After some changes in codegen capturing of VLA variables in OpenMP regions was broken, causing compiler crash. Patch fixes this issue.

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