This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]