gcc 2.95.2 ICE with templates
PETER NORDLUND
peter_nordlund@swipnet.se
Tue Feb 22 17:20:00 GMT 2000
Martin, thanks for your reply!
I do not understand the error message, do you by any chanse know what is wrong with
my code example? Altough I have reduced the original code before I submitted
the bug report, I don't realize what's wrong with my code.
Maybe I missed something when I reduced the code....
Could it be that the compiler still has a bug and tries to use the unspecialized traits class
(which it shouldn't) ?
Regards,
Peter
----- Original Message -----
From: Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
To: <peter_nordlund@swipnet.se>
Cc: <gcc-bugs@gcc.gnu.org>
Sent: Tuesday, February 22, 2000 12:22 AM
Subject: Re: gcc 2.95.2 ICE with templates
> > The code below generates an ICE under Cygwin 20.1.
>
> Thanks for your bug report. The mainline compiler (2.96 20000125
> (experimental)) reports
>
> bug2.cpp:20: typedef `Singleton<S, NoCleanupMgr2>::InstantiatorType' in elaborated type specifier
> bug2.cpp:20: ANSI C++ forbids declaration of `type name' with no type
>
> so it appears the bug has been fixed.
>
> Regards,
> Martin
>
>
>
More information about the Gcc-bugs
mailing list