[Bug c++/14359] [3.4 Regression] ice in tsubst_copy with template friend
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 1 14:36:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list