[cfe-commits] r158117 - in /cfe/trunk: lib/CodeGen/CGExprScalar.cpp test/CodeGen/vla.c

jahanian fjahanian at apple.com
Thu Jun 7 10:09:46 PDT 2012


On Jun 6, 2012, at 4:13 PM, John McCall wrote:

> On Jun 6, 2012, at 3:58 PM, Fariborz Jahanian wrote:
>> Author: fjahanian
>> Date: Wed Jun  6 17:58:50 2012
>> New Revision: 158117
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=158117&view=rev
>> Log:
>> When doing arithmatic on vla pointer, make sure
>> to emit vla size to prevent an irgen crash.
>> // rdar://11485774
> 
> This is wrong;  the VLA bounds should already have been emitted by
> this point. The  bug is that EmitVariablyModifiedType is apparently not
> getting called as part of emitting the compound literal.

In r158153.
- fariborz
> 
> 
> John.




More information about the cfe-commits mailing list