C++ PATCH for c++/42387 (ICE on new of VLA)

Jason Merrill jason@redhat.com
Wed Dec 16 20:28:00 GMT 2009


Under the patch for PR28879, VLA types which had previously been 
considered dependent were no longer, and so some code that tried to do 
normal things with a non-dependent type would get confused.  Fixed by 
making VLAs type-dependent, just like an array with a value-dependent size.

Tested x86_64-pc-linux-gnu, applied to trunk and 4.4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42387.patch
Type: text/x-patch
Size: 1180 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091216/9856a4df/attachment.bin>


More information about the Gcc-patches mailing list