gcc 2.95.2 ICE with templates

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon Feb 21 15:27:00 GMT 2000


> 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