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] [4.3 Regression] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti



------- Comment #15 from paolo at gcc dot gnu dot org  2008-01-06 22:31 -------
Subject: Bug 34680

Author: paolo
Date: Sun Jan  6 22:30:32 2008
New Revision: 131366

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

        PR libstdc++/34680
        * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
        * doc/cpp.texi ([Common Predefined Macros]): Document.

gcc/testsuite/
2008-01-06  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/34680
        * g++.dg/rtti/predefined-rtti-macro-1.C: New.
        * g++.dg/rtti/predefined-rtti-macro-2.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/rtti/predefined-rtti-macro-1.C
    trunk/gcc/testsuite/g++.dg/rtti/predefined-rtti-macro-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-cppbuiltin.c
    trunk/gcc/testsuite/ChangeLog


-- 


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]