C++ PATCH for c++/53989 (ICE with array of typedef)

Jason Merrill jason@redhat.com
Tue Jul 17 21:34:00 GMT 2012


As it turns out, the problem in this case was that we were building up a 
canonical array as part of building up an array of the typedef, but we 
didn't add it to the list of array variants, so 
complete_vars/finalize_type_size couldn't find it to fix it up.  Fixed 
by adding it to the variant list appropriately.

Tested x86_64-pc-linux-gnu, applying to trunk and 4.7.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 53989.patch
Type: text/x-patch
Size: 1457 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120717/b2b1504e/attachment.bin>


More information about the Gcc-patches mailing list