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]

New ICE after your 1998-07-27 change.



The appended source produces an ICE since the big template change. I
verified that it did compile with egcs-2.91.47.
Platform is i686-pc-linux-gnulibc1.

-- 
-------------------------------------------------------------------------
Klaus-Georg Adams        Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II            Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------
template <class T> class a {
public:
	friend void foo<>( a<T>& thea );
private:
	T amember;
};

template <class T> void foo( a<T>& thea )
{
	thea.amember = 0;
}

template class a<int>;


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