aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-11-24 00:24:54 +0000
committerJeffrey Yasskin <jyasskin@gcc.gnu.org>2010-11-24 00:24:54 +0000
commit3862bc3a55766907dbd1518e9f153abb34eb6785 (patch)
tree994a017754e21158f9b38cf8a7a3e9da2fd960cd /gcc/cp/ChangeLog
parent9959d57239b896ff602cb23044d7a78de83813bb (diff)
downloadgcc-3862bc3a55766907dbd1518e9f153abb34eb6785.zip
gcc-3862bc3a55766907dbd1518e9f153abb34eb6785.tar.gz
gcc-3862bc3a55766907dbd1518e9f153abb34eb6785.tar.bz2
Propagate the source location from a template function's definition to
any already-instantiated declarations. PR c++/46527 * gcc/cp/pt.c (instantiate_decl): Propagate the template's location to its instance. * gcc/testsuite/g++.dg/debug/dwarf2/pr46527.C: New test. From-SVN: r167104
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 6daf31b..f5d612d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-23 Jeffrey Yasskin <jyasskin@google.com>
+
+ PR c++/46527
+ * pt.c (instantiate_decl): Propagate the template's location to
+ its instance.
+
2010-11-20 Joseph Myers <joseph@codesourcery.com>
* name-lookup.c (handle_namespace_attrs): Don't check