Article View: gnu.g++.bug
Article #1145g++ 2.3.1 template bug
From: lewis
Date: Tue, 10 Nov 1992 11:40
Date: Tue, 10 Nov 1992 11:40
25 lines
1096 bytes
1096 bytes
/*
* Compiling this with gcc 2.3.1 as follows:
*
* g++ -c Bug.cc
*
* produces the output:
*
* Bug.cc:15: Internal compiler error 124.
* Bug.cc:15: Please report this to `bug-g++@prep.ai.mit.edu'.
*/
template <class T> class Array {
public:
Array ();
};
template <class T> class Array; // I believe this is legal -
// anyway, internal error is not
// a good way to flag it if it
// is not.
void f ()
{
Array<int> a;
}
Lewis Gordon Pringle, Jr. (lewis@sophists.com)
Technical Details
Message-ID:
<m0mp3Jb-000AWzC@sophists.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sophists.COM!lewisShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sophists.COM!lewis From: lewis@sophists.COM Subject: g++ 2.3.1 template bug Message-ID: <m0mp3Jb-000AWzC@sophists.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 10 Nov 1992 11:40:02 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 27