This is the mail archive of the gcc-bugs@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]

[Bug c++/46527] Member of template class gets wrong debug location when template (but not member) is used before member is defined


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]