[cfe-commits] P4R: Truncate CodeGEn initializer for arrays that are shorter than the initializer
Chris Lattner
clattner at apple.com
Thu Nov 29 11:28:22 PST 2007
On Nov 29, 2007, at 1:04 AM, Christopher Lamb wrote:
> This allows the following to CodeGen, with warnings:
>
> int ary[2] = {1, 2, 3, 4};
The patch looks fine to me. If Neil can find a citation from the
spec that indicates this should be rejected, please turn the warning
into an extwarn. Thanks Christopher!
-Chris
More information about the cfe-commits
mailing list