[Bug c++/28687] New: [4.2.0 regression] dynamic_cast<void*> disallowed too rigorously with -fno-rtti
benjamin at smedbergs dot us
gcc-bugzilla@gcc.gnu.org
Thu Aug 10 20:20:00 GMT 2006
gcc version 4.2.0 20060802 (experimental)
i686-pc-linux-gnu
Code compiled with -fno-rtti containing a dynamic_cast<void*> used to compile
and work properly on types with a vtable (the base class can be determined
entirely using the vtable without any RTTI information). Bug 10891 changed this
behavior to be more strict (too strict). There are additional regressions
listed from that bug; I feel that bug 10891 ought to be backed out. This
materially affects compilation of Mozilla-based products.
Testcase forthwith.
--
Summary: [4.2.0 regression] dynamic_cast<void*> disallowed too
rigorously with -fno-rtti
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: benjamin at smedbergs dot us
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28687
More information about the Gcc-bugs
mailing list