Re: [PATCH][C++] Build DECL_EXPRs for anonymous VLAs

2016-04-29 Thread Jason Merrill
OK. Jason

[PATCH][C++] Build DECL_EXPRs for anonymous VLAs

2016-04-29 Thread Richard Biener
The following makes sure that the gimplifier properly unshares the type fields in anonymous VLA types by inserting a DECL_EXPR for it instead of just forcing a TYPE_SIZE evaluation. This avoids turning those fields in to garbage during gimplification. Bootstrapped and tested on x86_64-unknown-li