[Bug libstdc++/34680] [4.3 Regression] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti

paolo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 7 12:20:00 GMT 2008



------- Comment #16 from paolo at gcc dot gnu dot org  2008-01-07 11:11 -------
Subject: Bug 34680

Author: paolo
Date: Mon Jan  7 11:11:02 2008
New Revision: 131372

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131372
Log:
2008-01-07  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/34680
        * include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
        use dynamic_cast when run-time type identification is disabled; do
        not mark inline; only declare, define...
        * include/bits/locale_classes.tcc: ... here.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/locale_classes.h
    trunk/libstdc++-v3/include/bits/locale_classes.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34680



More information about the Gcc-bugs mailing list