Re: C++ PATCH for c++/57402 (ICE with VLA initialization)

2013-07-13 Thread Jason Merrill
Value-initialization isn't quite right, either; we need to use {} to initialize elements without an explicit initializer. Tested x86_64-pc-linux-gnu, applying to trunk. commit f1f87745de6be6cf23acfb6aa30f44cce9cbcff6 Author: Jason Merrill Date: Fri Jul 12 16:58:58 2013 -0700 PR c++/574

C++ PATCH for c++/57402 (ICE with VLA initialization)

2013-07-09 Thread Jason Merrill
build_vec_init wasn't handling VLAs very well. Tested x86_64-pc-linux-gnu, applying to trunk. commit 8c0d85d60fa6e49ce4c8ac0eae88b77b4edd98fa Author: Jason Merrill Date: Tue Jul 9 18:38:13 2013 -0400 PR c++/57402 * init.c (build_vec_init): Don't take shortcuts when initializing