This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29908] [4.2/4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:434
- 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: 20 Nov 2006 16:20:49 -0000
- Subject: [Bug tree-optimization/29908] [4.2/4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:434
- References: <bug-29908-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from rguenth at gcc dot gnu dot org 2006-11-20 16:20 -------
Reduced testcase for this one (-O):
namespace k3d {
class iunknown {
};
class ifile_format : public virtual iunknown {
};
class iapplication_plugin_factory : public virtual iunknown {
virtual iunknown* create_plugin() = 0;
};
class uuid {
public:
uuid(const unsigned long Data1) : data1(Data1) {
}
unsigned long data1;
};
template<typename plugin_t> class application_plugin : public
iapplication_plugin_factory {
iunknown* create_plugin() {
return new plugin_t();
}
};
template<typename context_policy>
class plugin_factory : public context_policy {
public:
plugin_factory(const uuid& ClassID) {}
};
}
namespace {
class imagemagick_reader : public k3d::ifile_format {
public:
static void get_factory() {
static k3d::plugin_factory<
k3d::application_plugin<imagemagick_reader> > factory(
k3d::uuid(0x4eb70e35));
}
};
}
void imagemagick_reader_factory() {
::imagemagick_reader::get_factory();
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-11-20 16:20:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29908