[Bug c++/17823] New: ICE in find_function_data
rth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 4 04:33:00 GMT 2004
class Base {
public: virtual void member();
};
template<class F> void function(F func) {
class Derived: public Base {
void member() {
new Derived(*this);
}
};
new Derived;
}
void instantiate(){
function(0);
}
No idea whether this is legal or not, but it ICEs all versions of gcc
since at least 3.2.
--
Summary: ICE in find_function_data
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17823
More information about the Gcc-bugs
mailing list