This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13241] New: Incorrect mangling of template arguments
- 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:01:16 -0000
- Subject: [Bug c++/13241] New: Incorrect mangling of template arguments
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
extern "C" void Foo ();
namespace NMS
{
extern "C" int V;
}
template <void (*)()> struct S {};
template <int *> struct T {};
void f (S<Foo>){} // should be _Z1f1SIXadL_Z3FooEEE
void g (T<&NMS::V>){} // should be _Z1g1TIXadL_Z1VEEE
--
Summary: Incorrect mangling of template arguments
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=13241