This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for GC
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: C++ PATCH for GC
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 8 Sep 1999 22:25:28 +0200 (MET DST)
- cc: gcc-patches at gcc dot gnu dot org
On Tue, 7 Sep 1999, Mark Mitchell wrote:
> Here's a fateful patch: GC is now enabled in the C++ compiler. If
> you notice C++ regressions, or bootstrap failures, please let me know.
Out of a sudden, the following snippet
template <class T>
class TLITERAL : public T
{
int x;
};
class ATOM { int y; };
class GATOM;
typedef TLITERAL<ATOM> LITERAL;
typedef TLITERAL<GATOM> GLITERAL;
results in the following error message
x.cc: In instantiation of `TLITERAL<GATOM>':
x.cc:11: instantiated from here
x.cc:11: base class `GATOM' has incomplete type
while it used to work fine with all versions of EGCS and current CVS.
Due to bootstrap problems I cannot say when this started, but it's a
fairly recent change.
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/