Re: C++ PATCH for c++/55804 (missing ctor call)

2013-01-03 Thread Richard Biener
On Wed, Jan 2, 2013 at 7:31 PM, Jason Merrill ja...@redhat.com wrote: My earlier patch to force layout when re-building an array type caused problems because we weren't setting TYPE_NEEDS_CONSTRUCTING at the same time. So this attacks the problem in a different way: the underlying issue here

C++ PATCH for c++/55804 (missing ctor call)

2013-01-02 Thread Jason Merrill
My earlier patch to force layout when re-building an array type caused problems because we weren't setting TYPE_NEEDS_CONSTRUCTING at the same time. So this attacks the problem in a different way: the underlying issue here is that we're attaching a variant (which has been laid out) to a