This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix vector_size handling in templates (PR c++/35758)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Apr 2008 12:30:11 -0700
- Subject: Re: [C++ PATCH] Fix vector_size handling in templates (PR c++/35758)
- References: <20080401143240.GR30807@devserv.devel.redhat.com> <47FA5AA6.7010802@redhat.com>
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