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 for 3.3/trunk] Fix PR10956 (Function templatespecialization tsubst regression)


On Thu, 2003-05-29 at 08:08, Kriang Lerdsuwanakij wrote:
> Hi
> 
> This patch fixes PR10956 which is a regression in 3.3 and trunk.
> The problem appears we are tsubst'ing the body of function templates
> where its enclosing is specialized.  The full set of template arguments
> (which is required to locate the right specialization) should not be
> used here.  GCC currently fail to notice this and cause ICE deep
> inside tsubst.
> 
> Patch tested on i686-pc-linux-gnu.  OK for trunk and 3.3 branch?

Yes, thanks.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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