http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59640
Bug ID: 59640 Summary: templated conversion pointer type comparison causes segmentation fault Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc.gnu at adaptivetime dot com Created attachment 31541 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31541&action=edit full example a template conversion member function that is for a pointer type causes the compiler to bail out completely if you compare two of that type. note: function implementation not required to demonstrate issue. class broken { public: template<typename anytype> operator anytype*(void); }; broken a, b; if(a == b);