------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-02 17:15 ------- Confirmed, reduced testcase: struct Base{}; struct Iterator : virtual Base {}; bool operator==(const Iterator&, const Iterator&); struct IteratorI : Iterator {}; struct Obj { bool operator==(const Obj&) const; }; template <int>bool dummy() { Obj lhs, rhs; return lhs == rhs; } int main(int argc, char** argv) { //Iterator* it1 = new Iterator(); IteratorI* it2 = new IteratorI(); }
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code, rejects- | |valid Last reconfirmed|0000-00-00 00:00:00 |2005-05-02 17:15:32 date| | Summary|error in constructor lookup |[4.0/4.1 Regression] error |(can't find constructor with|in constructor lookup (can't |"const void**" argument) |find constructor with "const | |void**" argument) Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21340