[C++ PATCH] Fix vector_size handling in templates (PR c++/35758)

Jason Merrill jason@redhat.com
Sat Apr 19 01:34:00 GMT 2008


Mark Mitchell wrote:
> Jason Merrill wrote:
>> I believe this patch is appropriate and correct and fixes the 
>> regression, regardless of whether we also try to implement deduction 
>> for 'vector T'.  If reconstruct_complex_type doesn't do the right 
>> thing for C++, this is the way to fix it.
> 
> Yes, that's true.  Then again, given that reconstruct_complex_type is 
> documented as:
> 
> /* HACK.  GROSS.  This is absolutely disgusting.
> 
> perhaps we should try to figure out how not to need this?

Anyway, yes, but I'd still like to get this patch in to fix the 
important regression.

Jason



More information about the Gcc-patches mailing list