This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14359] [3.4 Regression] ice in tsubst_copy with template friend
- 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: 1 Mar 2004 14:36:56 -0000
- Subject: [Bug c++/14359] [3.4 Regression] ice in tsubst_copy with template friend
- References: <20040301091117.14359.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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