PR libstdc++/64560
* src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
for RTTI support.
From-SVN: r219495
+2015-01-12 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/64560
+ * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
+ for RTTI support.
+
2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
* doc/xml/manual/parallel_mode.xml: Update for libgomp being
{
using namespace __facet_shims;
+#if __cpp_rtti
// If this is already a shim just use its underlying facet.
if (auto* p = dynamic_cast<const __shim*>(this))
return p->_M_get();
+#endif
if (which == &numpunct<char>::id)
return new numpunct_shim<char>{this};