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++/14359] [3.4 Regression] ice in tsubst_copy with template friend


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-03-01 14:36 -------
Reduced testcase:

======================================================
template<typename> struct A {};

template<typename> struct B
{
    template<typename T> friend void foo(const A<T>& a, const B&) { a; }
};

void bar()
{
    A<void> a;
    B<void> b;
    foo(a,b);
}
======================================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-03-01 14:36:55
               date|                            |
            Summary|[3.4 Regression] ice in     |[3.4 Regression] ice in
                   |tsubst_copy random_demo.cpp |tsubst_copy with template
                   |(boost) regression          |friend


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14359


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