Re: C++ PATCH for c++/57325 (ICE with array of unknown bound template argument)

2013-05-20 Thread Jakub Jelinek
On Mon, May 20, 2013 at 12:49:25PM -0400, Jason Merrill wrote: > Tested x86_64-pc-linux-gnu, applying to trunk and 4.7. Jakub, is > this also OK for 4.8.1? Yes, thanks. Jakub

C++ PATCH for c++/57325 (ICE with array of unknown bound template argument)

2013-05-20 Thread Jason Merrill
My patch for c++/55032 fixed this crash for arrays of known bound, but the COMPLETE_TYPE_P test for when we need to copy the layout information doesn't work for arrays of unknown bound. So let's check completeness of the element type and accept that we might copy layout information more than n