This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46527] Member of template class gets wrong debug location when template (but not member) is used before member is defined
- From: "jyasskin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Nov 2010 00:57:51 +0000
- Subject: [Bug c++/46527] Member of template class gets wrong debug location when template (but not member) is used before member is defined
- Auto-submitted: auto-generated
- References: <bug-46527-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46527
Jeffrey Yasskin <jyasskin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2010.11.20 00:57:42
AssignedTo|unassigned at gcc dot |jyasskin at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from Jeffrey Yasskin <jyasskin at gcc dot gnu.org> 2010-11-20 00:57:42 UTC ---
Created attachment 22465
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22465
Possible fix
Here's a possible patch. I'll add a test and run the test suite and then send
it to gcc-patches. Corrections are welcome in the mean time.