This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42766] [4.5 Regression] tree check fail in build_expr_type_conversion
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2010 14:12:52 -0000
- Subject: [Bug c++/42766] [4.5 Regression] tree check fail in build_expr_type_conversion
- References: <bug-42766-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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