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++/81932] Template arguments of type unsigned generate incorrect debugging information


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #14)

The symbols in your example are the result/ouput of demangling but the issue
reported here is with the symbols that are input into GDB.  There is more than
one way to represent the same specialization of a template (e.g., B<unsigned>
and B<unsigned int>, or A<2> and A<2u>, or even A<1 + 1>).  GDB should be able
to accept all of them and recognize they all refer to the same specialization.

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