On 04/13/2016 02:36 PM, Martin Sebor wrote:
I don't see the benefit in doing the checking in build_vec_init and split_constant_init_1 when it can all be done just in check_initializer. I'm sure you have your reasons for going that route so I'd appreciate if you could let me know why you think that's better.
In order to share the code for checking VLAs and array new, but I take your point that they aren't similar enough for that. Your alternate patch is OK.
Jason