This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17324] [4.0 Regression] Error: symbol `bRKNS0_IT_SD_EE' is already defined
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2004 09:23:19 -0000
- Subject: [Bug c++/17324] [4.0 Regression] Error: symbol `bRKNS0_IT_SD_EE' is already defined
- References: <20040904194856.17324.tromey@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-09-14 09:23 -------
Here's something shorter:
=================================================
template<int, typename T> struct A
{
template<int I> void foo(const A<I,T>&) {}
};
template<typename> struct B
{
template<int J> void bar(const A<J,B>&);
void baz() { A<0,B>().foo(A<0,B>()); }
};
template struct B<void>;
template struct B<int>;
=================================================
It yields:
/tmp/ccMslYfY.s: Assembler messages:
/tmp/ccMslYfY.s:41: Error: symbol `vRKS_IXT_ES1_E' is already defined
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17324