c++/9450: incorrect mangled name for scope resolution template argument
Catherine Morton
camorton@sympatico.ca
Mon Jan 27 17:06:00 GMT 2003
The following reply was made to PR c++/9450; it has been noted by GNATS.
From: Catherine Morton <camorton@sympatico.ca>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
catherin@ca.ibm.com, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:
Subject: Re: c++/9450: incorrect mangled name for scope resolution template
argument
Date: Mon, 27 Jan 2003 12:05:34 -0500
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9450
gcc generates exactly the same mangled name for these 2 testcases
// ----------------- t1 --------------------
struct A5 {int i;};
template <int A5::*p> void f5(int) {}
template <class T>
void g5() {f5<&T::i>(0);}
int main(void)
{
g5<A5>();
}
// ----------------------------------------
name:
_Z2f5IXadsr2A5NS0_1iEEEvi
// ---------------- t2 --------------------
struct A5 {int i;};
template <int A5::*p> void f5(int) {}
void g5() {f5<&A5::i>(0);}
// ----------------------------------------
name:
_Z2f5IXadsr2A5NS0_1iEEEvi
More information about the Gcc-prs
mailing list