[Bug c++/13242] New: Incorrect mangling of template reference parameters
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 30 18:03:00 GMT 2003
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
More information about the Gcc-bugs
mailing list