This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13445] [3.3 Regression] Template argument replacement "dereferences" a typedef
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2003 19:51:56 -0000
- Subject: [Bug c++/13445] [3.3 Regression] Template argument replacement "dereferences" a typedef
- References: <20031219145430.13445.brad.king@kitware.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-19 19:51 -------
It does look like that is the patch fixes it.
Nathan could you backport this patch for 3.3.3:
cp:
* pt.c (instantiate_class_template): Push to class's scope before
tsubsting base.
testsuite:
* g++.dg/template/scope2.C: New test.
* g++.dg/template/error2.C: Correct dg-error
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13445