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

Reply via email to