From: SourceForge.net <no...@so...> - 2004-02-23 18:49:07
|
Bugs item #902881, was opened at 2004-02-23 21:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=902881&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Shutkin Konstantin (kostya_s) Assigned to: Danny Smith (dannysmith) Summary: internal compiler error: Segmentation fault Initial Comment: With following piece of code you can see internal compiler error. I think compiler must compile this or give normal error. enum things_enum { dummy }; struct thing_param { template<things_enum e> struct mixin { mixin(int param){} }; }; template<class C> struct thing : C::template mixin< (things_enum)dummy> { thing(int param) : C::template mixin< (things_enum)dummy>(param) {} }; thing<thing_param> tu(0); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=902881&group_id=2435 |