[Bug optimization/14511] New: "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:03:00 GMT 2004
On a tree-ssa build pulled today, I get "pure virtual method called" (and
execution aborts) if I attempt to call a method on a static_casted pointer. I
believe this regressed within the past few weeks. The error occurs with -O2,
but not with -O. gcc build details:
$ c++ -v
Reading specs from /usr/gcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs
Configured with: ../gcc/configure --prefix=/usr/gcc-ssa --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--host=i686-pc-linux-gnu --enable-languages=c,c++ --disable-checking
Thread model: posix
gcc version 3.5-tree-ssa 20040309 (merged 20040307)
--
Summary: "pure virtual method called" error when calling a method
on a static_casted object
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryner at brianryner dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14511
More information about the Gcc-bugs
mailing list