OSDN Git Service

2010-02-27 Mark Mitchell <mark@codesourcery.com>
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Feb 2010 17:07:54 +0000 (17:07 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Feb 2010 17:07:54 +0000 (17:07 +0000)
commitdf63172d4d971293492aa06e0f86fdf29a531eda
treef2b4f7ef00102ad7b366dd23023b43367f88b2df
parentcf5f0e1cfe810c6f8c3addd2591af144f1367718
2010-02-27  Mark Mitchell  <mark@codesourcery.com>

PR c++/42748
* cp-tree.h (push_tinst_level): Declare.
(pop_tinst_level): Likewise.
* pt.c (push_tinst_level): Give it external linkage.
(pop_tinst_level): Likewise.
* mangle.c (mangle_decl_string): Set the source location to that
of the decl while mangling.

2010-02-27  Mark Mitchell  <mark@codesourcery.com>

PR c++/42748
* g++.dg/abi/mangle11.C: Adjust mangling warning locations.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle20-2.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/template/cond2.C: Likewise.
* g++.dg/template/pr35240.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157124 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/mangle.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle11.C
gcc/testsuite/g++.dg/abi/mangle12.C
gcc/testsuite/g++.dg/abi/mangle17.C
gcc/testsuite/g++.dg/abi/mangle20-2.C
gcc/testsuite/g++.dg/template/cond2.C
gcc/testsuite/g++.dg/template/pr35240.C