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

Jason Merrill jason@redhat.com
Mon May 20 16:49:00 GMT 2013


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 necessary.

Tested x86_64-pc-linux-gnu, applying to trunk and 4.7.  Jakub, is this 
also OK for 4.8.1?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 57325.patch
Type: text/x-patch
Size: 2010 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130520/8a32994a/attachment.bin>


More information about the Gcc-patches mailing list