This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Aug 2017 01:13:18 +0000
- Subject: [Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information
- Auto-submitted: auto-generated
- References: <bug-81932-4@http.gcc.gnu.org/bugzilla/>
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.