[Bug c++/21123] [4.0/4.1 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101
------- 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
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: