[Bug c++/11750] Incorrect virtual method invoked for class hierarchy w/ virtual bases
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Fri Aug 1 19:10:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11750
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2003-08-01 19:10:34
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-01 19:10 -------
I can confirm this on the mainline (20030801).
ICC 6.0 produces the correct ouput.
Note 2.95.3 produces:
B::f()
B::f()
While 3.0.4 produces:
A::f()
A::f()
More information about the Gcc-bugs
mailing list