This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17324] [4.0 Regression] Error: symbol `bRKNS0_IT_SD_EE' is already defined


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]