This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42766] [4.5 Regression] tree check fail in build_expr_type_conversion



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-01-16 14:12 -------
template<class T> class smart_pointer {
public:
    operator T* () const { }
    operator bool () const { }
    operator bool () { }
};
class Context { };
typedef smart_pointer<Context> ContextP;
class SvnClient  {
    ~SvnClient();
    ContextP svnContext;
};
SvnClient::~SvnClient() {
    delete svnContext;
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]