From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040404 Firefox/0.8 Description of problem: Segmentation fault compiling invalid code. Version-Release number of selected component (if applicable): gcc-3.3.2-1 How reproducible: Always Steps to Reproduce: See pre-processed source in attachment. Additional info:
Created attachment 99501 [details] Pre-processed source that causes segmentation fault.
Created attachment 104750 [details] unpreprocessed source Uninclude standard headers, so I can try with gcc 3.4.
No ICE with gcc 3.4, which generates z.c: In member function `void deleter::operator()(T)': z.c:54: error: `i' undeclared (first use this function) z.c:54: error: (Each undeclared identifier is reported only once for each function it appears in.) z.c: At global scope: z.c:59: error: new types may not be defined in a return type z.c:59: error: return type specification for destructor invalid z.c: In destructor `Header::~Header()': z.c:60: error: `m_managed' undeclared (first use this function) So your main problem was the lack of a ';' at the end of 'struct deleter'.