[PATCH] Fix PR c++/29475: Incomplete template diagnostics
Mark Mitchell
mark@codesourcery.com
Thu Dec 7 06:39:00 GMT 2006
Simon Martin wrote:
>> struct tree_check {
>> tree value;
>> VEC (deferred_access_checks) *checks;
>> };
> The attached patch implements this solution (with a tree_check* in the union
> instead of a tree_check; otherwise all cp_tokens would get bigger, wouldn't
> they?).
Doh! Yes.
> Moreover, I've added a TREE attribute to struct tree_check to store
> the qualifying scope associated with the token when it is
> CPP_NESTED_NAME_SPECIFIER.
Very nice.
> I have regtested on i686-pc-linux-gnu with no new unexpected failure except
> g++.dg/opt/alias4.C, that is failing on mainline if I trust
> http://gcc.gnu.org/ml/gcc-testresults/2006-12/msg00240.html. Is it OK?
Yes, this is OK for mainline, thanks.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list