aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/locale/gnu
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-03-09 19:48:55 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2012-03-09 19:48:55 +0000
commitf09805bbc5966723ef1922f8714d1b04931ab9d9 (patch)
tree498d5ea386cabfb5810363677d87d7660df8b97d /libstdc++-v3/config/locale/gnu
parent080324aced3a5676c32dcd42c85643b33376ffa1 (diff)
downloadgcc-f09805bbc5966723ef1922f8714d1b04931ab9d9.zip
gcc-f09805bbc5966723ef1922f8714d1b04931ab9d9.tar.gz
gcc-f09805bbc5966723ef1922f8714d1b04931ab9d9.tar.bz2
* config/locale/gnu/monetary_members.cc
(moneypunct<char,true>::_M_initialize_moneypunct): Throw caught exception again. (moneypunct<char,false>::_M_initialize_moneypunct): Likewise. * testsuite/22_locale/locale/cons/12352.cc: Also test en_US locale. From-SVN: r185149
Diffstat (limited to 'libstdc++-v3/config/locale/gnu')
-rw-r--r--libstdc++-v3/config/locale/gnu/monetary_members.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/config/locale/gnu/monetary_members.cc b/libstdc++-v3/config/locale/gnu/monetary_members.cc
index 214c4af..d1d9939 100644
--- a/libstdc++-v3/config/locale/gnu/monetary_members.cc
+++ b/libstdc++-v3/config/locale/gnu/monetary_members.cc
@@ -1,6 +1,6 @@
// std::moneypunct implementation details, GNU version -*- C++ -*-
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -339,6 +339,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
delete [] __group;
delete [] __ps;
delete [] __ns;
+ __throw_exception_again;
}
char __pprecedes = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc));
@@ -489,6 +490,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
delete [] __group;
delete [] __ps;
delete [] __ns;
+ __throw_exception_again;
}
char __pprecedes = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc));