C++ PATCH for c++/39750

Jason Merrill jason@redhat.com
Mon Apr 13 19:22:00 GMT 2009


The init-list code changed the parse of B<T>{} from a syntax error to a 
functional cast/compound literal.  We need to teach uses_template_parms 
about compound literals.

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


More information about the Gcc-patches mailing list