[Bug optimization/14511] "pure virtual method called" error when calling a method on a static_casted object
bryner at brianryner dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 10 07:04:00 GMT 2004
------- Additional Comments From bryner at brianryner dot com 2004-03-10 07:04 -------
Created an attachment (id=5891)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5891&action=view)
testcase
testcase output:
$ c++ -O2 -o test_virt_cast test_virt_cast.cpp
$ ./test_virt_cast
pure virtual method called
terminate called without an active exception
Aborted
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14511
More information about the Gcc-bugs
mailing list