[C++ PATCH]: Incomplete explicit args

Nathan Sidwell nathan@codesourcery.com
Wed Jul 30 17:50:00 GMT 2003


Mark Mitchell wrote:

> However, if you, Nathan, and the standard all think otherwise, I guess
> that's OK with me...
> 
> Nathan, I agree that, given this interpretation, the thing to do is to
> build a new SCOPE_REF in tsubst_qualified_id, and pass it back.
that doesn't cut it. callers of tsubst_qualified_id expect a non-dependent
expression back (because they feed it to things like build_x_binary_op).
And, in this case processing_template_decl will be false, so it all breaks.

This patch increments processing_template_decl when we're tsubsting
an incomplete explict arg list.

booted & tested on i686-pc-linux-gnu, ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unify.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030730/c8cae7cf/attachment.ksh>


More information about the Gcc-patches mailing list