This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14511] "pure virtual method called" error when calling a method on a static_casted object


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]