[C++ PATCH for 4.0] Fix PR18652 (ICE redeclaring variable as class template)
Nathan Sidwell
nathan@codesourcery.com
Mon Nov 29 10:30:00 GMT 2004
Kriang Lerdsuwanakij wrote:
> ------------------------------------------------------------------------
>
> 2004-11-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
>
> PR c++/18652
> * name-lookup.c (pushtag): Change return type to tree.
> * cp-tree.h (pushtag): Adjust declaration.
> * decl.c (xref_tag, start_enum): Use return value of pushtag.
> * pt.c (push_template_decl_real): Return immediately if
> pushdecl_namespace_level returns error_mark_node.
>
> 2004-11-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
>
> PR c++/18652
> * g++.dg/lookup/crash6.C: New test.
ok, thanks
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc-patches
mailing list