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-gnu, applying to trunk. Also OK for 4.6? > The patch seems extremely safe.
Yes, please. Thanks. > commit dbba5904d0fb00a0ddd934ee4c827592630c653e > Author: Jason Merrill <ja...@redhat.com> > Date: Wed Mar 16 14:15:41 2011 -0400 > > PR c++/48115 > * call.c (convert_arg_to_ellipsis): Handle incomplete type. > Jakub