This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13242] New: Incorrect mangling of template reference parameters
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2003 18:03:31 -0000
- Subject: [Bug c++/13242] New: Incorrect mangling of template reference parameters
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
extern int N;
template <int &> struct S {};
void n (S<N>) {}
// g++ mangles as _Z1n1SIXadL_Z1NEEE
This should be _Z1n1SIL_Z1NEE (or possibly _Z1n1SIXL_Z1NEEE)
--
Summary: Incorrect mangling of template reference parameters
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nathan at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: -
GCC host triplet: -
GCC target triplet: -
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13242