------- Comment #3 from michael dot haubenwallner at salomon dot at 2010-03-16 14:30 ------- While the input from comment#0 indeed seems to work with gcc-4.2.4 too, this one has the same problem with 4.2.4, 4.3.1 and 4.4.3 (each hp-gcc):
class A { public: virtual ~A(); virtual void find() {} }; void foo() { A a; A* pa = &a; pa->find(); } -- michael dot haubenwallner at salomon dot at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael dot haubenwallner at | |salomon dot at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40490