File libstdcxx-bitset.patch of Package gcc41
2006-01-30 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h (bitset<>::_M_copy_to_string):
Call the internal _Unchecked_set(size_t) instead of set.
Index: include/std/std_bitset.h
===================================================================
--- include/std/std_bitset.h (revision 110410)
+++ include/std/std_bitset.h (working copy)
@@ -1,6 +1,7 @@
// <bitset> -*- C++ -*-
-// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
+// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -1156,7 +1157,7 @@
case '0':
break;
case '1':
- set(__i);
+ _Unchecked_set(__i);
break;
default:
__throw_invalid_argument(__N("bitset::_M_copy_from_string"));