cp: * pt.c (instantiate_class_template): Set location before substuting bases.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 15 Aug 2003 10:46:51 +0000 (10:46 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 15 Aug 2003 10:46:51 +0000 (10:46 +0000)
commit68ea098a059c352835b2090a02a163f47560ef17
tree381dcd409dcfdf722aba79a14047cc2baa00a58a
parent4f7847cab9999f228bd0ebf17dda3a1cdde94d02
cp: * pt.c (instantiate_class_template): Set location before substuting bases.

cp: * pt.c (instantiate_class_template): Set location before
substuting bases.
testsuite:
* g++.dg/template/error2.C: New test.
* g++.dg/lookup/using7.C: Adjust errors
* g++.old-deja/g++.pt/crash36.C: Likewise.
* g++.old-deja/g++.pt/derived3.C: Likewise.

From-SVN: r70476
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/using7.C
gcc/testsuite/g++.dg/template/error2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/crash36.C
gcc/testsuite/g++.old-deja/g++.pt/derived3.C