diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-11-24 00:24:54 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gcc.gnu.org> | 2010-11-24 00:24:54 +0000 |
commit | 3862bc3a55766907dbd1518e9f153abb34eb6785 (patch) | |
tree | 994a017754e21158f9b38cf8a7a3e9da2fd960cd /gcc/opts.c | |
parent | 9959d57239b896ff602cb23044d7a78de83813bb (diff) | |
download | gcc-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/opts.c')
0 files changed, 0 insertions, 0 deletions