This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
4.0 bug advice? : wrong virtual function called
- From: Benjamin Redelings I <bredelin at ucla dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 10 Feb 2005 12:34:55 -0800
- Subject: 4.0 bug advice? : wrong virtual function called
Hello,
I am currently narrowing down a testcase which is rather strange. I
have a somewhat contorted class hierarchy which involved virtual
inheritance.
At one point I call A->clone(), but gdb clearly shows that what is
being called is A->rates(), where clone and rates are both virtual
functions.
Does this sound like a known bug?
-BenRI