This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch propagates the source location from a template function's definition to any already-instantiated declarations. It doesn't also copy it to the template_decl because that wasn't necessary to fix the bug, but I'm happy to do so if the experts think I should.. 2010-11-19 Jeffrey Yasskin <jyasskin@google.com> 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. You can also review this at http://codereview.appspot.com/3233041/ Thanks, Jeffrey
Attachment:
pr46527.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |