Re: C++ PATCH for c++/48115 (ICE with ellipsis and templates)

2011-03-16 Thread Jakub Jelinek
On Wed, Mar 16, 2011 at 03:54:45PM -0400, Jason Merrill wrote: > Here the issue was that require_complete_type doesn't do anything in > templates, but convert_arg_to_ellipsis was assuming that it did. > The simple fix is to make sure we really do have a complete type. > > Tested x86_64-pc-linux-gn

C++ PATCH for c++/48115 (ICE with ellipsis and templates)

2011-03-16 Thread Jason Merrill
Here the issue was that require_complete_type doesn't do anything in templates, but convert_arg_to_ellipsis was assuming that it did. The simple fix is to make sure we really do have a complete type. Tested x86_64-pc-linux-gnu, applying to trunk. Also OK for 4.6? The patch seems extremely s