This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/34680] [4.3 Regression] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2008 12:08:13 -0000
- Subject: [Bug libstdc++/34680] [4.3 Regression] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti
- References: <bug-34680-15584@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from pinskia at gcc dot gnu dot org 2008-01-05 12:08 -------
(In reply to comment #6)
> Or, we could change mainline cc1plus to silently convert dynamic_cast to
> static_cast when -fno-rtti. I would actually prefer this solution.
No because this was just fixed to be an error for 4.2.0, see PR 10891.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34680