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. John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
