This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
New ICE after your 1998-07-27 change.
- To: mark at markmitchell dot com
- Subject: New ICE after your 1998-07-27 change.
- From: Klaus-Georg Adams <Klaus-Georg dot Adams at chemie dot uni-karlsruhe dot de>
- Date: Fri, 31 Jul 1998 15:14:14 +0200
- Cc: egcs-bugs at cygnus dot com
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>;