Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SUN.COM!tiemann From: tiemann@SUN.COM (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: bug with virtual destructors (1.35.0, 1.36.0-) Message-ID: <8909190942.AA01009@teacake.sun.com> Date: 19 Sep 89 09:42:50 GMT References: <8909190630.AA23205@iris.rand.org> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@sun.com Distribution: gnu Organization: GNUs Not Usenet Lines: 10 it calls the correct destructors in the correct order, but all of a sudden ap has become an A instead of a B, which I don't think is correct behavior, unless this has changed in cfront 2.0.... this actually makes some logical sense, since coming out of the destructor for B, ap is no longer a B anymore, right?? so either g++ is extremely smart and cfront 1.2 is bugged, or cfront 1.2 is correct and g++ is slightly bugged.... any comments?? cfront 1.2 is bugged. Michael