------- Comment #32 from jason at gcc dot gnu dot org 2005-11-23 23:56 ------- My earlier patch fixed all the reduced testcases, but not the unreduced one. Here's a reduced testcase that still fails (adding a by-value parm to the virtual function):
struct A { A(const A &a); const A& operator=(const A& a); }; struct B { virtual A f(A); }; struct C : virtual B { virtual A f(A); }; A C::f(A a) { return a; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123