Re: C++ PATCH for c++/79130 (direct-initialization of arrays with decomposition)

2017-01-19 Thread Jason Merrill
On Thu, Jan 19, 2017 at 9:43 AM, Jason Merrill wrote: > Jakub pointed out that parenthesized decomposition of an array wasn't > properly using direct-initialization. Rather than pass the flags down > into build_vec_init at this point in GCC 7 development, let's turn the > initializer into somethi

C++ PATCH for c++/79130 (direct-initialization of arrays with decomposition)

2017-01-19 Thread Jason Merrill
Jakub pointed out that parenthesized decomposition of an array wasn't properly using direct-initialization. Rather than pass the flags down into build_vec_init at this point in GCC 7 development, let's turn the initializer into something that build_vec_init recognizes as direct-initialization. Te