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 libstdc++/34680] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti



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

Author: paolo
Date: Sat Jan  5 11:04:43 2008
New Revision: 131334

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

        PR libstdc++/34680

        Revert:
        2007-12-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
        * include/bits/locale_facets.tcc (has_facet, use_facet): Simplify
        RTTI checks.

        2007-12-14  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/30127
        PR libstdc++/34449
        * include/bits/locale_facets.tcc (use_facet): Check facet hierarchy.
        (has_facet): Same.
        * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: New.
        * testsuite/22_locale/global_templates/
        standard_facet_hierarchies.cc: New.

Removed:
   
branches/gcc-4_2-branch/libstdc++-v3/testsuite/22_locale/global_templates/standard_facet_hierarchies.cc
   
branches/gcc-4_2-branch/libstdc++-v3/testsuite/22_locale/global_templates/user_facet_hierarchies.cc
Modified:
    branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_2-branch/libstdc++-v3/include/bits/locale_facets.tcc


-- 


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


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