]> granicus.if.org Git - clang/commit
When doing arithmatic on vla pointer, make sure
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 6 Jun 2012 22:58:50 +0000 (22:58 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 6 Jun 2012 22:58:50 +0000 (22:58 +0000)
commit30775778897112f79b6641e98c2722d306053f0b
tree9374226e3b6fdcc864b6cf305a42135cbfc716d5
parent369558b6d8390899a8ae8074b363d9ecd1d66726
When doing arithmatic on vla pointer, make sure
to emit vla size to prevent an irgen crash.
// rdar://11485774

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158117 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/vla.c