[Bug c++/11620] Nested class template typedef

Don at Skyler dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 21 20:16:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11620



------- Additional Comments From Don at Skyler dot com  2003-07-21 20:16 -------
Created an attachment (id=4449)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4449&action=view)
Test case to produce compiler errors

This produces the internal error.  Uncommenting //#define CAUSE_INCOMPLETE_TYPE
produces the "incomplete type" error.  Commenting out #define CAUSE_CRASH makes
the problem go away by no longer using TemplateTemplate to apply type T to
Temp<I>::Nested.  All combinations compile on Comeau's online compiler.



More information about the Gcc-bugs mailing list