public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [v3] Avoid -Wall warnings in the testsuite
@ 2011-06-22 22:01 Paolo Carlini
  2011-06-22 22:06 ` Paolo Carlini
  2011-06-22 22:56 ` Jonathan Wakely
  0 siblings, 2 replies; 9+ messages in thread
From: Paolo Carlini @ 2011-06-22 22:01 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

... all, besides that corresponding to c++/49508.

Committed to mainline.

Thanks,
Paolo.

//////////////////

[-- Attachment #2: CL_warnings --]
[-- Type: text/plain, Size: 554 bytes --]

2011-06-22  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings.
	* testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise.
	* testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
	* testsuite/20_util/allocator_traits/members/allocate_hint.cc:
	Likewise.
	* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
	* testsuite/20_util/bind/socket.cc: Likewise.
	* testsuite/20_util/pointer_traits/pointer_to.cc: Likewise.
	* testsuite/util/testsuite_random.h: Likewise.


[-- Attachment #3: patch_warnings --]
[-- Type: text/plain, Size: 6091 bytes --]

Index: testsuite/util/testsuite_random.h
===================================================================
--- testsuite/util/testsuite_random.h	(revision 175315)
+++ testsuite/util/testsuite_random.h	(working copy)
@@ -48,7 +48,7 @@
       for (unsigned long i = 0; i < N; i++)
 	{
 	  auto r = f();
-	  if (r >= 0 && r < BINS)
+	  if (r >= 0 && (unsigned long)r < BINS)
 	    count[r]++;
 	}
 
@@ -116,7 +116,7 @@
     if (!wl.size())
       wl = { 1.0 };
 
-    if (k < 0 || k >= wl.size())
+    if (k < 0 || (std::size_t)k >= wl.size())
       return 0.0;
     else
       {
Index: testsuite/20_util/reference_wrapper/invoke.cc
===================================================================
--- testsuite/20_util/reference_wrapper/invoke.cc	(revision 175315)
+++ testsuite/20_util/reference_wrapper/invoke.cc	(working copy)
@@ -75,7 +75,8 @@
   int (::X::* p_foo_c)(float) const = &::X::foo_c;
   int (::X::* p_foo_v)(float) volatile = &::X::foo_v;
   int (::X::* p_foo_cv)(float) const volatile = &::X::foo_cv;
-  int (::X::* p_foo_varargs)(float, ...) = &::X::foo_varargs;
+  int (::X::* p_foo_varargs)(float, ...) __attribute__((unused))
+    = &::X::foo_varargs;
   int ::X::* p_bar = &::X::bar;
 
   const float pi = 3.14;
Index: testsuite/20_util/reference_wrapper/typedefs-3.cc
===================================================================
--- testsuite/20_util/reference_wrapper/typedefs-3.cc	(revision 175315)
+++ testsuite/20_util/reference_wrapper/typedefs-3.cc	(working copy)
@@ -124,14 +124,14 @@
 template<typename T>
   void test()
   {
-    test_arg_type<T> t;
-    test_arg_type<const T> tc;
-    test_arg_type<volatile T> tv;
-    test_arg_type<const volatile T> tcv;
-    test_1st_2nd_arg_types<T> t12;
-    test_1st_2nd_arg_types<const T> t12c;
-    test_1st_2nd_arg_types<volatile T> t12v;
-    test_1st_2nd_arg_types<const volatile T> t12cv;
+    test_arg_type<T> t __attribute__((unused));
+    test_arg_type<const T> tc __attribute__((unused));
+    test_arg_type<volatile T> tv __attribute__((unused));
+    test_arg_type<const volatile T> tcv __attribute__((unused));
+    test_1st_2nd_arg_types<T> t12 __attribute__((unused));
+    test_1st_2nd_arg_types<const T> t12c __attribute__((unused));
+    test_1st_2nd_arg_types<volatile T> t12v __attribute__((unused));
+    test_1st_2nd_arg_types<const volatile T> t12cv __attribute__((unused));
   }
 
 int main()
Index: testsuite/20_util/reference_wrapper/invoke-2.cc
===================================================================
--- testsuite/20_util/reference_wrapper/invoke-2.cc	(revision 175315)
+++ testsuite/20_util/reference_wrapper/invoke-2.cc	(working copy)
@@ -36,8 +36,8 @@
   X x = { };
   std::ref(m)(x, 1);
   std::ref(m)(&x, 1);
-  int& i1 = std::ref(m2)(x);
-  int& i2 = std::ref(m2)(&x);
+  int& i1 __attribute__((unused)) = std::ref(m2)(x);
+  int& i2 __attribute__((unused)) = std::ref(m2)(&x);
 }
 
 int main()
Index: testsuite/20_util/allocator_traits/members/allocate_hint.cc
===================================================================
--- testsuite/20_util/allocator_traits/members/allocate_hint.cc	(revision 175315)
+++ testsuite/20_util/allocator_traits/members/allocate_hint.cc	(working copy)
@@ -51,7 +51,7 @@
   typedef std::allocator_traits<hintable_allocator<X>> traits_type;
   traits_type::allocator_type a;
   traits_type::const_void_pointer v;
-  X* p = traits_type::allocate(a, 1, v);
+  X* p __attribute__((unused)) = traits_type::allocate(a, 1, v);
   VERIFY( a.called );
 }
 
@@ -79,7 +79,7 @@
   typedef std::allocator_traits<unhintable_allocator<X>> traits_type;
   traits_type::allocator_type a;
   traits_type::const_void_pointer v;
-  X* p = traits_type::allocate(a, 1, v);
+  X* p __attribute__((unused)) = traits_type::allocate(a, 1, v);
   VERIFY( a.called );
 }
 
Index: testsuite/20_util/ratio/operations/ops_overflow_neg.cc
===================================================================
--- testsuite/20_util/ratio/operations/ops_overflow_neg.cc	(revision 175315)
+++ testsuite/20_util/ratio/operations/ops_overflow_neg.cc	(working copy)
@@ -26,19 +26,22 @@
 void
 test01()
 {
-  std::ratio_add<std::ratio<INTMAX_MAX, 1>, std::ratio<1>>::type r1;
+  std::ratio_add<std::ratio<INTMAX_MAX, 1>, std::ratio<1>>::type r1
+    __attribute__((unused));
 }
 
 void
 test02()
 {  
-  std::ratio_multiply<std::ratio<-INTMAX_MAX, 2>, std::ratio<3, 2>>::type r1;
-  std::ratio_multiply<std::ratio<INTMAX_MAX>, std::ratio<INTMAX_MAX>>::type r2;
+  std::ratio_multiply<std::ratio<-INTMAX_MAX, 2>, std::ratio<3, 2>>::type r1
+    __attribute__((unused));
+  std::ratio_multiply<std::ratio<INTMAX_MAX>, std::ratio<INTMAX_MAX>>::type r2
+    __attribute__((unused));
 }
 
 // { dg-error "required from here" "" { target *-*-* } 29 }
-// { dg-error "required from here" "" { target *-*-* } 35 }
 // { dg-error "required from here" "" { target *-*-* } 36 }
+// { dg-error "required from here" "" { target *-*-* } 38 }
 // { dg-error "overflow in addition" "" { target *-*-* } 432 }
 // { dg-error "overflow in multiplication" "" { target *-*-* } 104 }
 // { dg-error "overflow in multiplication" "" { target *-*-* } 100 }
Index: testsuite/20_util/bind/socket.cc
===================================================================
--- testsuite/20_util/bind/socket.cc	(revision 175315)
+++ testsuite/20_util/bind/socket.cc	(working copy)
@@ -35,7 +35,7 @@
 {
   int fd = 1;
   my_sockaddr sa;           // N.B. non-const
-  size_t len = sizeof(sa);  // N.B. size_t not socklen_t
+  size_t len __attribute__((unused)) = sizeof(sa); // N.B. size_t not socklen_t
   return bind(fd, &sa, sizeof(sa));
 }
 
Index: testsuite/20_util/pointer_traits/pointer_to.cc
===================================================================
--- testsuite/20_util/pointer_traits/pointer_to.cc	(revision 175315)
+++ testsuite/20_util/pointer_traits/pointer_to.cc	(working copy)
@@ -32,7 +32,7 @@
 void test01()
 {
   bool test = true;
-  Ptr p{&test};
+  Ptr p __attribute__((unused)) {&test};
 
   VERIFY( std::pointer_traits<Ptr>::pointer_to(test).value == &test );
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2011-06-22 22:01 [v3] Avoid -Wall warnings in the testsuite Paolo Carlini
@ 2011-06-22 22:06 ` Paolo Carlini
  2011-06-22 22:16   ` Andrew Pinski
  2011-06-22 22:56 ` Jonathan Wakely
  1 sibling, 1 reply; 9+ messages in thread
From: Paolo Carlini @ 2011-06-22 22:06 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++

... actually, there are also bogus "statement has no effect" warnings 
for line 1321 of ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp which also 
seem bogus:

     PB_DS_CLASS_T_DEC
     typename PB_DS_CLASS_C_DEC::size_type
     PB_DS_CLASS_C_DEC::
     get_begin_pos() const
     {
       size_type i = 0;
       for (i; i < arr_size && m_a_p_children[i] == 0; ++i) // here
     ;
       return i;
     }

Paolo.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2011-06-22 22:06 ` Paolo Carlini
@ 2011-06-22 22:16   ` Andrew Pinski
  2011-06-22 22:25     ` Paolo Carlini
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Pinski @ 2011-06-22 22:16 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc-patches, libstdc++

On Wed, Jun 22, 2011 at 3:02 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> ... actually, there are also bogus "statement has no effect" warnings for
> line 1321 of ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp which also seem
> bogus:
>
>    PB_DS_CLASS_T_DEC
>    typename PB_DS_CLASS_C_DEC::size_type
>    PB_DS_CLASS_C_DEC::
>    get_begin_pos() const
>    {
>      size_type i = 0;
>      for (i; i < arr_size && m_a_p_children[i] == 0; ++i) // here
>    ;

No I think that warning is correct "for (i;" the statement i; has no effect.

Thanks,
Andrew Pinski

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2011-06-22 22:16   ` Andrew Pinski
@ 2011-06-22 22:25     ` Paolo Carlini
  0 siblings, 0 replies; 9+ messages in thread
From: Paolo Carlini @ 2011-06-22 22:25 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc-patches, libstdc++

On 06/23/2011 12:04 AM, Andrew Pinski wrote:
> No I think that warning is correct "for (i;" the statement i; has no effect.
Thanks, now I see, let's remove that i.

Paolo.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2011-06-22 22:01 [v3] Avoid -Wall warnings in the testsuite Paolo Carlini
  2011-06-22 22:06 ` Paolo Carlini
@ 2011-06-22 22:56 ` Jonathan Wakely
  2011-06-22 23:03   ` Jonathan Wakely
  1 sibling, 1 reply; 9+ messages in thread
From: Jonathan Wakely @ 2011-06-22 22:56 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc-patches, libstdc++

On 22 June 2011 22:48, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> ... all, besides that corresponding to c++/49508.
>
> Committed to mainline.
>
> Thanks,
> Paolo.
>
> //////////////////
>

Oops, this bit is my bad, I'll fix it:

Index: testsuite/20_util/bind/socket.cc
===================================================================
--- testsuite/20_util/bind/socket.cc	(revision 175315)
+++ testsuite/20_util/bind/socket.cc	(working copy)
@@ -35,7 +35,7 @@
 {
   int fd = 1;
   my_sockaddr sa;           // N.B. non-const
-  size_t len = sizeof(sa);  // N.B. size_t not socklen_t
+  size_t len __attribute__((unused)) = sizeof(sa); // N.B. size_t not socklen_t
   return bind(fd, &sa, sizeof(sa));
 }

I meant to use len, so the attribute isn't needed

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2011-06-22 22:56 ` Jonathan Wakely
@ 2011-06-22 23:03   ` Jonathan Wakely
  0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Wakely @ 2011-06-22 23:03 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc-patches, libstdc++

On 22 June 2011 23:38, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 22 June 2011 22:48, Paolo Carlini <paolo.carlini@oracle.com> wrote:
>> ... all, besides that corresponding to c++/49508.
>>
>> Committed to mainline.
>>
>> Thanks,
>> Paolo.
>>
>> //////////////////
>>
>
> Oops, this bit is my bad, I'll fix it:
>
> Index: testsuite/20_util/bind/socket.cc
> ===================================================================
> --- testsuite/20_util/bind/socket.cc    (revision 175315)
> +++ testsuite/20_util/bind/socket.cc    (working copy)
> @@ -35,7 +35,7 @@
>  {
>   int fd = 1;
>   my_sockaddr sa;           // N.B. non-const
> -  size_t len = sizeof(sa);  // N.B. size_t not socklen_t
> +  size_t len __attribute__((unused)) = sizeof(sa); // N.B. size_t not socklen_t
>   return bind(fd, &sa, sizeof(sa));
>  }
>
> I meant to use len, so the attribute isn't needed


2011-06-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

        * testsuite/20_util/bind/socket.cc: Use variable and remove attribute.

Tested (this test only) on x86_64-linux and committed to trunk.

Index: testsuite/20_util/bind/socket.cc
===================================================================
--- testsuite/20_util/bind/socket.cc    (revision 175321)
+++ testsuite/20_util/bind/socket.cc    (working copy)
@@ -35,7 +35,7 @@
 {
   int fd = 1;
   my_sockaddr sa;           // N.B. non-const
-  size_t len __attribute__((unused)) = sizeof(sa); // N.B. size_t not socklen_t
-  return bind(fd, &sa, sizeof(sa));
+  size_t len = sizeof(sa);  // N.B. size_t not my_socklen_t
+  return bind(fd, &sa, len);
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2010-06-08  6:07 ` Jakub Jelinek
@ 2010-06-08  8:00   ` Paolo Carlini
  0 siblings, 0 replies; 9+ messages in thread
From: Paolo Carlini @ 2010-06-08  8:00 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: gcc-patches, libstdc++

Hi,
> On Tue, Jun 08, 2010 at 02:47:10AM +0200, Paolo Carlini wrote:
>   
>> tested x86_64-linux, CXXFLAGS="-O2 -g -Wall", committed.
>>     
> Anything that looked like a compiler bug (i.e. decl on which it warned, yet
> it was used somewhere else than on lhs of an assignment)?
>   
No, yesterday I didn't notice anything, thanks. Actually I was a bit
tired when I completed the work, I may have missed something and today,
among other things, I was considering skimming again through the patch.
I'll let you know immediately, in case.
> The two PRs I've fixed yesterday were from quick skimming of the libstdc++
> testsuite results with
> RUNTESTFLAGS=--target_board=unix/-Wunused-but-set-variable/-Wunused-but-set-parameter
> but of course I could have missed something...
>   
I see. Indeed, I saw your patches and at least the issue with
__attribute__((unused)) looked familiar ;) Thus I waited for Jason to
approve both before my clean-up.

Paolo.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [v3] Avoid -Wall warnings in the testsuite
  2010-06-08  0:48 Paolo Carlini
@ 2010-06-08  6:07 ` Jakub Jelinek
  2010-06-08  8:00   ` Paolo Carlini
  0 siblings, 1 reply; 9+ messages in thread
From: Jakub Jelinek @ 2010-06-08  6:07 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc-patches, libstdc++

On Tue, Jun 08, 2010 at 02:47:10AM +0200, Paolo Carlini wrote:
> tested x86_64-linux, CXXFLAGS="-O2 -g -Wall", committed.

Anything that looked like a compiler bug (i.e. decl on which it warned, yet
it was used somewhere else than on lhs of an assignment)?

The two PRs I've fixed yesterday were from quick skimming of the libstdc++
testsuite results with
RUNTESTFLAGS=--target_board=unix/-Wunused-but-set-variable/-Wunused-but-set-parameter
but of course I could have missed something...

	Jakub

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [v3] Avoid -Wall warnings in the testsuite
@ 2010-06-08  0:48 Paolo Carlini
  2010-06-08  6:07 ` Jakub Jelinek
  0 siblings, 1 reply; 9+ messages in thread
From: Paolo Carlini @ 2010-06-08  0:48 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

Hi,

tested x86_64-linux, CXXFLAGS="-O2 -g -Wall", committed.

Paolo.

/////////////////////

[-- Attachment #2: CL_wall --]
[-- Type: text/plain, Size: 9942 bytes --]

2010-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp:
	Avoid -Wall warnings.
	* testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
	* testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
	* testsuite/27_io/types/2.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/
	wchar_t/01.cc: Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/
	01.cc: Likewise.
	* testsuite/27_io/fpos/mbstate_t/4_neg.cc: Likewise.
	* testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
	* testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
	* testsuite/27_io/fpos/mbstate_t/5.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
	4.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/char/
	4.cc: Likewise.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
	* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
	* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
	* testsuite/25_algorithms/minmax/3.cc: Likewise.
	* testsuite/19_diagnostics/logic_error/what-3.cc: Likewise.
	* testsuite/19_diagnostics/runtime_error/what-3.cc: Likewise.
	* testsuite/19_diagnostics/system_error/what-3.cc: Likewise.
	* testsuite/24_iterators/front_insert_iterator/2.cc: Likewise.
	* testsuite/24_iterators/back_insert_iterator/2.cc: Likewise.
	* testsuite/24_iterators/insert_iterator/2.cc: Likewise.
	* testsuite/18_support/exception_ptr/make_exception_ptr.cc: Likewise.
	* testsuite/21_strings/c_strings/wchar_t/1.cc: Likewise.
	* testsuite/21_strings/c_strings/wchar_t/2.cc: Likewise.
	* testsuite/21_strings/c_strings/char/1.cc: Likewise.
	* testsuite/21_strings/c_strings/char/2.cc: Likewise.
	* testsuite/26_numerics/random/independent_bits_engine/cons/
	copy.cc: Likewise.
	* testsuite/26_numerics/random/subtract_with_carry_engine/
	cons/copy.cc: Likewise.
	* testsuite/26_numerics/random/subtract_with_carry_engine/
	requirements/constants.cc: Likewise.
	* testsuite/26_numerics/random/discard_block_engine/
	cons/copy.cc: Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/
	cons/copy.cc: Likewise.
	* testsuite/26_numerics/random/mersenne_twister_engine/
	requirements/constants.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/
	cons/copy.cc: Likewise.
	* testsuite/26_numerics/random/linear_congruential_engine/
	requirements/constants.cc: Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/
	cons/copy.cc: Likewise.
	* testsuite/26_numerics/random/shuffle_order_engine/
	requirements/constants.cc: Likewise.
	* testsuite/26_numerics/complex/complex_value.cc: Likewise.
	* testsuite/26_numerics/headers/cmath/overloads.cc: Likewise.
	* testsuite/26_numerics/headers/cmath/
	c99_classification_macros_c++.cc: Likewise.
	* testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
	* testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
	* testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
	* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/1.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/5.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/6.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/7.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/8.cc: Likewise.
	* testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/num_put/put/char/1.cc: Likewise.
	* testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
	* testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/1.cc: Likewise.
	* testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
	* testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
	* testsuite/22_locale/ctype_base/mask.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	subtract_with_carry/requirements/constants.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	subtract_with_carry_01/requirements/constants.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	discard_block/requirements/constants.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	linear_congruential/requirements/constants.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	mersenne_twister/requirements/constants.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	xor_combine/requirements/constants.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cfenv/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cstdlib/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cstdio/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cctype/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cmath/templates.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cmath/functions.cc: Likewise.
	* testsuite/tr1/8_c_compatibility/cwctype/functions.cc: Likewise.
	* testsuite/tr1/6_containers/utility/pair.cc: Likewise.
	* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Likewise.
	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Likewise.
	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
	* testsuite/29_atomics/atomic_integral/operators/
	increment_neg.cc: Likewise.
	* testsuite/29_atomics/atomic_integral/operators/
	bitwise_neg.cc: Likewise.
	* testsuite/29_atomics/atomic_integral/operators/
	decrement_neg.cc: Likewise.
	* testsuite/29_atomics/atomic_flag/cons/1.cc: Likewise.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
	* testsuite/23_containers/priority_queue/members/7161.cc
	* testsuite/23_containers/set/dr130.cc: Likewise.
	* testsuite/23_containers/list/pthread5.cc: Likewise.
	* testsuite/23_containers/map/dr130.cc: Likewise.
	* testsuite/util/exception/safety.h: Likewise.
	* testsuite/util/testsuite_common_types.h: Likewise.
	* testsuite/20_util/clocks/1.cc: Likewise.

[-- Attachment #3: patch_wall --]
[-- Type: text/plain, Size: 164371 bytes --]

Index: include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp
===================================================================
--- include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp	(revision 160388)
+++ include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp	(working copy)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 
-// Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2009, 2010 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 terms
@@ -50,8 +50,6 @@
 
   node_iterator nd_it = node_begin();
 
-  node_iterator end_nd_it = node_end();
-
   while (true)
     {
       if (order > nd_it.get_metadata())
Index: testsuite/27_io/ios_base/failure/what-3.cc
===================================================================
--- testsuite/27_io/ios_base/failure/what-3.cc	(revision 160388)
+++ testsuite/27_io/ios_base/failure/what-3.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-02-26 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,6 +34,8 @@
   __extension__ char array[num];
   for (size_t i = 0; i < num; i++) 
     array[i]=0;
+  for (size_t i = 0; i < num; i++) 
+    array[i]=array[i]; // Suppress unused warning.
 }
 
 void test04()
Index: testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2009, 2010 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
@@ -28,10 +28,6 @@
   const std::wstring str01 = L"123";
   std::wstring str02;
 
-  std::ios_base::iostate statefail, stateeof;
-  statefail = std::ios_base::failbit;
-  stateeof = std::ios_base::eofbit;
-
   // string str() const
   str02 = os01.str();
   VERIFY( str00 == str02 );
Index: testsuite/27_io/basic_ostringstream/str/char/1.cc
===================================================================
--- testsuite/27_io/basic_ostringstream/str/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_ostringstream/str/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-23 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -30,10 +30,6 @@
   const std::string str01 = "123";
   std::string str02;
 
-  std::ios_base::iostate statefail, stateeof;
-  statefail = std::ios_base::failbit;
-  stateeof = std::ios_base::eofbit;
-
   // string str() const
   str02 = os01.str();
   VERIFY( str00 == str02 );
Index: testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,7 +33,6 @@
 {
   bool test __attribute__((unused)) = true;
   std::wstring 		str_tmp, str_tmp2;
-  std::streamsize 		strmsz_1, strmsz_2;
   typedef std::wstringbuf::int_type int_type;
   typedef std::wstringbuf::traits_type traits_type;
 
@@ -44,27 +43,27 @@
 
   // PUT
   strb_03.str(str_01); //reset
-  std::wstring::size_type sz1 = strb_03.str().length();
-  std::wstring::size_type sz2 = strb_03.str().length();
+  strb_03.str().length();
+  strb_03.str().length();
   
   // streamsize sputn(const char_typs* s, streamsize n)
   // write up to n chars to out_cur from s, returning number assigned
   // NB *sputn will happily put '\0' into your stream if you give it a chance*
   str_tmp = strb_03.str();
-  sz1 = str_tmp.length();
-  strmsz_1 = strb_03.sputn(L"racadabras", 10);//"abracadabras or what?"
-  sz2 = strb_03.str().length();
-  strmsz_2 = strb_03.sputn(L", i wanna reach out and", 10);
-  sz2 = strb_03.str().length();
+  str_tmp.length();
+  strb_03.sputn(L"racadabras", 10);//"abracadabras or what?"
+  strb_03.str().length();
+  strb_03.sputn(L", i wanna reach out and", 10);
+  strb_03.str().length();
   str_tmp = strb_02.str();
-  strmsz_1 = strb_02.sputn(L"racadabra", 10);
+  strb_02.sputn(L"racadabra", 10);
 
   // PUTBACK
 
   // int_type sputbackc(char_type c)
   // if in_cur not avail || ! traits::eq(c, gptr() [-1]), return pbfail
   // otherwise decrements in_cur and returns *gptr()
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   str_tmp = strb_01.str();
   c1 = strb_01.sgetc(); //"mykonos. . . 'o'r what?"
   c2 = strb_01.sputbackc(L'z');//"mykonos. . .zor what?"
@@ -76,7 +75,7 @@
   VERIFY( str_tmp.size() == str_tmp2.size() );
   //test for _in_cur == _in_beg
   strb_01.str(str_tmp);
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   c1 = strb_01.sgetc(); //"'m'ykonos. . . or what?"
   c2 = strb_01.sputbackc(L'z');//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
@@ -88,7 +87,7 @@
   VERIFY( str_tmp.size() == strb_01.str().size() );
   // test for replacing char with identical one
   strb_01.str(str_01); //reset
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   strb_01.sbumpc();
   strb_01.sbumpc();
   c1 = strb_01.sgetc(); //"my'k'onos. . . or what?"
@@ -100,7 +99,7 @@
   VERIFY( strb_01.str() == str_01 );
   VERIFY( str_01.size() == strb_01.str().size() );
   //test for ios_base::out
-  strmsz_2 = strb_03.in_avail();
+  strb_03.in_avail();
   c4 = strb_03.sputbackc(L'x');
   VERIFY( c4 == traits_type::eof() );
 }
Index: testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,7 +33,6 @@
 {
   bool test __attribute__((unused)) = true;
   std::string 		str_tmp, str_tmp2;
-  std::streamsize 		strmsz_1, strmsz_2;
   typedef std::stringbuf::int_type int_type;
   typedef std::stringbuf::traits_type traits_type;
 
@@ -44,27 +43,27 @@
 
   // PUT
   strb_03.str(str_01); //reset
-  std::string::size_type sz1 = strb_03.str().length();
-  std::string::size_type sz2 = strb_03.str().length();
+  strb_03.str().length();
+  strb_03.str().length();
   
   // streamsize sputn(const char_typs* s, streamsize n)
   // write up to n chars to out_cur from s, returning number assigned
   // NB *sputn will happily put '\0' into your stream if you give it a chance*
   str_tmp = strb_03.str();
-  sz1 = str_tmp.length();
-  strmsz_1 = strb_03.sputn("racadabras", 10);//"abracadabras or what?"
-  sz2 = strb_03.str().length();
-  strmsz_2 = strb_03.sputn(", i wanna reach out and", 10);
-  sz2 = strb_03.str().length();
+  str_tmp.length();
+  strb_03.sputn("racadabras", 10);//"abracadabras or what?"
+  strb_03.str().length();
+  strb_03.sputn(", i wanna reach out and", 10);
+  strb_03.str().length();
   str_tmp = strb_02.str();
-  strmsz_1 = strb_02.sputn("racadabra", 10);
+  strb_02.sputn("racadabra", 10);
 
   // PUTBACK
 
   // int_type sputbackc(char_type c)
   // if in_cur not avail || ! traits::eq(c, gptr() [-1]), return pbfail
   // otherwise decrements in_cur and returns *gptr()
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   str_tmp = strb_01.str();
   c1 = strb_01.sgetc(); //"mykonos. . . 'o'r what?"
   c2 = strb_01.sputbackc('z');//"mykonos. . .zor what?"
@@ -76,7 +75,7 @@
   VERIFY( str_tmp.size() == str_tmp2.size() );
   //test for _in_cur == _in_beg
   strb_01.str(str_tmp);
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   c1 = strb_01.sgetc(); //"'m'ykonos. . . or what?"
   c2 = strb_01.sputbackc('z');//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
@@ -88,7 +87,7 @@
   VERIFY( str_tmp.size() == strb_01.str().size() );
   // test for replacing char with identical one
   strb_01.str(str_01); //reset
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   strb_01.sbumpc();
   strb_01.sbumpc();
   c1 = strb_01.sgetc(); //"my'k'onos. . . or what?"
@@ -100,7 +99,7 @@
   VERIFY( strb_01.str() == str_01 );
   VERIFY( str_01.size() == strb_01.str().size() );
   //test for ios_base::out
-  strmsz_2 = strb_03.in_avail();
+  strb_03.in_avail();
   c4 = strb_03.sputbackc('x');
   VERIFY( c4 == traits_type::eof() );
 }
Index: testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-// 2006, 2007, 2009
+// 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,20 +34,19 @@
 {
   bool test __attribute__((unused)) = true;
   std::streamsize 		strmsz_1, strmsz_2;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::wstringbuf::int_type int_type;
   typedef std::wstringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   int_type c1 = strb_01.sbumpc();
   int_type c2 = strb_02.sbumpc();
   strb_01.sbumpc();
   int_type c4 = strb_02.sbumpc();
-  int_type c5 = strb_03.sbumpc();
+  strb_03.sbumpc();
 
   // int_type sgetc()
   // if read_cur not avail, return uflow(), else return *read_cur  
@@ -55,13 +54,13 @@
   int_type c7 = strb_02.sgetc();
   strb_01.sgetc();
   strb_02.sgetc();
-   c5 = strb_03.sgetc();
+  strb_03.sgetc();
 
   // int_type snextc()
   // calls sbumpc and if sbumpc != eof, return sgetc
   c6 = strb_01.snextc();
   c7 = strb_02.snextc();
-  c5 = strb_03.snextc();
+  strb_03.snextc();
 
   // streamsize sgetn(char_type *s, streamsize n)
   // streamsize xsgetn(char_type *s, streamsize n)
Index: testsuite/27_io/basic_stringbuf/sgetn/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sgetn/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sgetn/char/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-// 2006, 2007, 2009
+// 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,20 +34,19 @@
 {
   bool test __attribute__((unused)) = true;
   std::streamsize 		strmsz_1, strmsz_2;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::stringbuf::int_type int_type;
   typedef std::stringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   int_type c1 = strb_01.sbumpc();
   int_type c2 = strb_02.sbumpc();
   strb_01.sbumpc();
   int_type c4 = strb_02.sbumpc();
-  int_type c5 = strb_03.sbumpc();
+  strb_03.sbumpc();
 
   // int_type sgetc()
   // if read_cur not avail, return uflow(), else return *read_cur  
@@ -55,13 +54,13 @@
   int_type c7 = strb_02.sgetc();
   strb_01.sgetc();
   strb_02.sgetc();
-   c5 = strb_03.sgetc();
+  strb_03.sgetc();
 
   // int_type snextc()
   // calls sbumpc and if sbumpc != eof, return sgetc
   c6 = strb_01.snextc();
   c7 = strb_02.snextc();
-  c5 = strb_03.snextc();
+  strb_03.snextc();
 
   // streamsize sgetn(char_type *s, streamsize n)
   // streamsize xsgetn(char_type *s, streamsize n)
Index: testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -36,7 +36,7 @@
   typedef std::wstringbuf::off_type off_type;
 
   int_type c1 = strb_01.sbumpc();
-  int_type c2, c3;
+  int_type c2;
   
   // BUFFER MANAGEMENT & POSITIONING
 
@@ -84,7 +84,7 @@
   c1 = strb_01.sgetc(); 
   c2 = strb_01.sungetc();
   strmsz_2 = strb_01.in_avail(); // 1
-  c3 = strb_01.sgetc();
+  strb_01.sgetc();
   VERIFY( c1 != c2 );
   VERIFY( strmsz_2 != strmsz_1 );
   VERIFY( strmsz_2 == 1 );
Index: testsuite/27_io/basic_stringbuf/seekoff/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/seekoff/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/seekoff/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -36,7 +36,7 @@
   typedef std::stringbuf::off_type off_type;
 
   int_type c1 = strb_01.sbumpc();
-  int_type c2, c3;
+  int_type c2;
 
   // BUFFER MANAGEMENT & POSITIONING
 
@@ -84,7 +84,7 @@
   c1 = strb_01.sgetc(); 
   c2 = strb_01.sungetc();
   strmsz_2 = strb_01.in_avail(); // 1
-  c3 = strb_01.sgetc();
+  strb_01.sgetc();
   VERIFY( c1 != c2 );
   VERIFY( strmsz_2 != strmsz_1 );
   VERIFY( strmsz_2 == 1 );
Index: testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -32,14 +32,13 @@
 void test04() 
 {
   bool test __attribute__((unused)) = true;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::wstringbuf::int_type int_type;
   typedef std::wstringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   // int_type sbumpc()
   // if read_cur not avail, return uflow(), else return *read_cur & increment
Index: testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-// 2006, 2007, 2009
+// 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,14 +33,13 @@
 void test04() 
 {
   bool test __attribute__((unused)) = true;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::stringbuf::int_type int_type;
   typedef std::stringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   // int_type sbumpc()
   // if read_cur not avail, return uflow(), else return *read_cur & increment
Index: testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-// 2006, 2007, 2009
+// 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,14 +33,13 @@
 void test04() 
 {
   bool test __attribute__((unused)) = true;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::wstringbuf::int_type int_type;
   typedef std::wstringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   strb_01.sbumpc();
   strb_02.sbumpc();
Index: testsuite/27_io/basic_stringbuf/snextc/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/snextc/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/snextc/char/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-// 2006, 2007, 2009
+// 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,14 +33,13 @@
 void test04() 
 {
   bool test __attribute__((unused)) = true;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::stringbuf::int_type int_type;
   typedef std::stringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   strb_01.sbumpc();
   strb_02.sbumpc();
Index: testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -32,14 +32,13 @@
 void test04() 
 {
   bool test __attribute__((unused)) = true;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::wstringbuf::int_type int_type;
   typedef std::wstringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   int_type c3 = strb_01.sbumpc();
   int_type c4 = strb_02.sbumpc();
Index: testsuite/27_io/basic_stringbuf/sgetc/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sgetc/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sgetc/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -32,14 +32,13 @@
 void test04() 
 {
   bool test __attribute__((unused)) = true;
-  std::streamoff  		strmof_1(-1), strmof_2;
   typedef std::stringbuf::int_type int_type;
   typedef std::stringbuf::traits_type traits_type;
 
   // GET
-  strmof_1 = strb_01.in_avail();
-  strmof_2 = strb_02.in_avail();
-  strmof_1 = strb_03.in_avail(); 
+  strb_01.in_avail();
+  strb_02.in_avail();
+  strb_03.in_avail(); 
 
   int_type c3 = strb_01.sbumpc();
   int_type c4 = strb_02.sbumpc();
Index: testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,7 +33,6 @@
 {
   bool test __attribute__((unused)) = true;
   std::wstring 		str_tmp;
-  std::streamsize 		strmsz_1, strmsz_2;
   typedef std::wstringbuf::int_type int_type;
   typedef std::wstringbuf::traits_type traits_type;
 
@@ -44,47 +43,47 @@
 
   // PUT
   strb_03.str(str_01); //reset
-  std::wstring::size_type sz1 = strb_03.str().length();
-  std::wstring::size_type sz2 = strb_03.str().length();
+  strb_03.str().length();
+  strb_03.str().length();
   
   // streamsize sputn(const char_typs* s, streamsize n)
   // write up to n chars to out_cur from s, returning number assigned
   // NB *sputn will happily put '\0' into your stream if you give it a chance*
   str_tmp = strb_03.str();
-  sz1 = str_tmp.length();
-  strmsz_1 = strb_03.sputn(L"racadabras", 10);//"abracadabras or what?"
-  sz2 = strb_03.str().length();
-  strmsz_2 = strb_03.sputn(L", i wanna reach out and", 10);
-  sz2 = strb_03.str().length();
+  str_tmp.length();
+  strb_03.sputn(L"racadabras", 10);//"abracadabras or what?"
+  strb_03.str().length();
+  strb_03.sputn(L", i wanna reach out and", 10);
+  strb_03.str().length();
   str_tmp = strb_02.str();
-  strmsz_1 = strb_02.sputn(L"racadabra", 10);
+  strb_02.sputn(L"racadabra", 10);
 
   // PUTBACK
 
   // int_type sputbackc(char_type c)
   // if in_cur not avail || ! traits::eq(c, gptr() [-1]), return pbfail
   // otherwise decrements in_cur and returns *gptr()
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   str_tmp = strb_01.str();
   c1 = strb_01.sgetc(); //"mykonos. . . 'o'r what?"
   c2 = strb_01.sputbackc('z');//"mykonos. . .zor what?"
   c3 = strb_01.sgetc();
   //test for _in_cur == _in_beg
   strb_01.str(str_tmp);
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   c1 = strb_01.sgetc(); //"'m'ykonos. . . or what?"
   c2 = strb_01.sputbackc(L'z');//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
   // test for replacing char with identical one
   strb_01.str(str_01); //reset
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   strb_01.sbumpc();
   strb_01.sbumpc();
   c1 = strb_01.sgetc(); //"my'k'onos. . . or what?"
   c2 = strb_01.sputbackc(L'y');//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
   //test for ios_base::out
-  strmsz_2 = strb_03.in_avail();
+  strb_03.in_avail();
   c4 = strb_03.sputbackc(L'x');
 
   // int_type sungetc()
@@ -92,7 +91,7 @@
   // return to_int_type(*gptr())
   for (int i = 0; i<12; ++i)
     strb_01.sbumpc();
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   str_tmp = strb_01.str();
   c1 = strb_01.sgetc(); //"mykonos. . . 'o'r what?"
   c2 = strb_01.sungetc();//"mykonos. . . or what?"
@@ -105,7 +104,7 @@
   VERIFY( str_01.size() == strb_01.str().size() );
   //test for _in_cur == _in_beg
   strb_01.str(str_tmp);
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   c1 = strb_01.sgetc(); //"'m'ykonos. . . or what?"
   c2 = strb_01.sungetc();//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
@@ -117,7 +116,7 @@
   VERIFY( str_01.size() == strb_01.str().size() );
   // test for replacing char with identical one
   strb_01.str(str_01); //reset
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   strb_01.sbumpc();
   strb_01.sbumpc();
   c1 = strb_01.sgetc(); //"my'k'onos. . . or what?"
@@ -129,7 +128,7 @@
   VERIFY( strb_01.str() == str_01 );
   VERIFY( str_01.size() == strb_01.str().size() );
   //test for ios_base::out
-  strmsz_2 = strb_03.in_avail();
+  strb_03.in_avail();
   c4 = strb_03.sungetc();
   VERIFY( c4 == traits_type::eof() );
 }
Index: testsuite/27_io/basic_stringbuf/sungetc/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/sungetc/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/sungetc/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -33,7 +33,6 @@
 {
   bool test __attribute__((unused)) = true;
   std::string 		str_tmp;
-  std::streamsize 		strmsz_1, strmsz_2;
   typedef std::stringbuf::int_type int_type;
   typedef std::stringbuf::traits_type traits_type;
 
@@ -44,47 +43,47 @@
 
   // PUT
   strb_03.str(str_01); //reset
-  std::string::size_type sz1 = strb_03.str().length();
-  std::string::size_type sz2 = strb_03.str().length();
+  strb_03.str().length();
+  strb_03.str().length();
   
   // streamsize sputn(const char_typs* s, streamsize n)
   // write up to n chars to out_cur from s, returning number assigned
   // NB *sputn will happily put '\0' into your stream if you give it a chance*
   str_tmp = strb_03.str();
-  sz1 = str_tmp.length();
-  strmsz_1 = strb_03.sputn("racadabras", 10);//"abracadabras or what?"
-  sz2 = strb_03.str().length();
-  strmsz_2 = strb_03.sputn(", i wanna reach out and", 10);
-  sz2 = strb_03.str().length();
+  str_tmp.length();
+  strb_03.sputn("racadabras", 10);//"abracadabras or what?"
+  strb_03.str().length();
+  strb_03.sputn(", i wanna reach out and", 10);
+  strb_03.str().length();
   str_tmp = strb_02.str();
-  strmsz_1 = strb_02.sputn("racadabra", 10);
+  strb_02.sputn("racadabra", 10);
 
   // PUTBACK
 
   // int_type sputbackc(char_type c)
   // if in_cur not avail || ! traits::eq(c, gptr() [-1]), return pbfail
   // otherwise decrements in_cur and returns *gptr()
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   str_tmp = strb_01.str();
   c1 = strb_01.sgetc(); //"mykonos. . . 'o'r what?"
   c2 = strb_01.sputbackc('z');//"mykonos. . .zor what?"
   c3 = strb_01.sgetc();
   //test for _in_cur == _in_beg
   strb_01.str(str_tmp);
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   c1 = strb_01.sgetc(); //"'m'ykonos. . . or what?"
   c2 = strb_01.sputbackc('z');//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
   // test for replacing char with identical one
   strb_01.str(str_01); //reset
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   strb_01.sbumpc();
   strb_01.sbumpc();
   c1 = strb_01.sgetc(); //"my'k'onos. . . or what?"
   c2 = strb_01.sputbackc('y');//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
   //test for ios_base::out
-  strmsz_2 = strb_03.in_avail();
+  strb_03.in_avail();
   c4 = strb_03.sputbackc('x');
 
   // int_type sungetc()
@@ -92,7 +91,7 @@
   // return to_int_type(*gptr())
   for (int i = 0; i<12; ++i)
     strb_01.sbumpc();
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   str_tmp = strb_01.str();
   c1 = strb_01.sgetc(); //"mykonos. . . 'o'r what?"
   c2 = strb_01.sungetc();//"mykonos. . . or what?"
@@ -105,7 +104,7 @@
   VERIFY( str_01.size() == strb_01.str().size() );
   //test for _in_cur == _in_beg
   strb_01.str(str_tmp);
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   c1 = strb_01.sgetc(); //"'m'ykonos. . . or what?"
   c2 = strb_01.sungetc();//"mykonos. . . or what?"
   c3 = strb_01.sgetc();
@@ -117,7 +116,7 @@
   VERIFY( str_01.size() == strb_01.str().size() );
   // test for replacing char with identical one
   strb_01.str(str_01); //reset
-  strmsz_1 = strb_01.in_avail();
+  strb_01.in_avail();
   strb_01.sbumpc();
   strb_01.sbumpc();
   c1 = strb_01.sgetc(); //"my'k'onos. . . or what?"
@@ -129,7 +128,7 @@
   VERIFY( strb_01.str() == str_01 );
   VERIFY( str_01.size() == strb_01.str().size() );
   //test for ios_base::out
-  strmsz_2 = strb_03.in_avail();
+  strb_03.in_avail();
   c4 = strb_03.sungetc();
   VERIFY( c4 == traits_type::eof() );
 }
Index: testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == wchar_t
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,7 +34,6 @@
   typedef std::wstringbuf::off_type off_type;
 
   int_type c1 = strb_01.sbumpc();
-  int_type c2;
   int_type c3 = strb_01.sbumpc();
 
   pos_type pt_1(off_type(-1));
@@ -58,7 +57,7 @@
   off_1 = off_type(pt_1);
   c1 = strb_01.snextc(); //current in pointer +1
   VERIFY( c1 == L'o' );
-  c2 = strb_01.sputc(L'x');  //test current out pointer
+  strb_01.sputc(L'x');  //test current out pointer
   str_tmp = std::wstring(L"myxonos. . . or what?");
   VERIFY( strb_01.str() == str_tmp );
   strb_01.pubsync(); //resets pointers
@@ -67,7 +66,7 @@
   VERIFY( off_1 == off_2 );
   c3 = strb_01.snextc(); //current in pointer +1
   VERIFY( c1 == c3 );
-  c2 = strb_01.sputc(L'x');  //test current out pointer
+  strb_01.sputc(L'x');  //test current out pointer
   str_tmp = std::wstring(L"myxonos. . . or what?");
   VERIFY( strb_01.str() == str_tmp );
 }
Index: testsuite/27_io/basic_stringbuf/seekpos/char/1.cc
===================================================================
--- testsuite/27_io/basic_stringbuf/seekpos/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_stringbuf/seekpos/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 981208 bkoz test functionality of basic_stringbuf for char_type == char
 
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2009
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,7 +34,6 @@
   typedef std::stringbuf::off_type off_type;
 
   int_type c1 = strb_01.sbumpc();
-  int_type c2; 
   int_type c3 = strb_01.sbumpc();
 
   pos_type pt_1(off_type(-1));
@@ -58,7 +57,7 @@
   off_1 = off_type(pt_1);
   c1 = strb_01.snextc(); //current in pointer +1
   VERIFY( c1 == 'o' );
-  c2 = strb_01.sputc('x');  //test current out pointer
+  strb_01.sputc('x');  //test current out pointer
   str_tmp = std::string("myxonos. . . or what?");
   VERIFY( strb_01.str() == str_tmp );
   strb_01.pubsync(); //resets pointers
@@ -67,7 +66,7 @@
   VERIFY( off_1 == off_2 );
   c3 = strb_01.snextc(); //current in pointer +1
   VERIFY( c1 == c3 );
-  c2 = strb_01.sputc('x');  //test current out pointer
+  strb_01.sputc('x');  //test current out pointer
   str_tmp = std::string("myxonos. . . or what?");
   VERIFY( strb_01.str() == str_tmp );
 }
Index: testsuite/27_io/types/2.cc
===================================================================
--- testsuite/27_io/types/2.cc	(revision 160388)
+++ testsuite/27_io/types/2.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2003, 2004, 2009 Free Software Foundation
+// Copyright (C) 2003, 2004, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -30,6 +30,7 @@
 
   // Wrapped in pos_type is EOF.
   soff = -1;
+  soff = soff; // Suppress unused warning.
 }
 
 int main(void)
Index: testsuite/27_io/basic_istream/ignore/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_istream/ignore/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/ignore/wchar_t/1.cc	(working copy)
@@ -37,9 +37,7 @@
   std::wistream is_00(0);
   std::wistream is_03(&isbuf_03);
   std::wistream is_04(&isbuf_04);
-  std::ios_base::iostate state1, state2, statefail, stateeof;
-  statefail = std::ios_base::failbit;
-  stateeof = std::ios_base::eofbit;
+  std::ios_base::iostate state1, state2;
 
   // istream& read(char_type* s, streamsize n)
   wchar_t carray[60] = L"";
Index: testsuite/27_io/basic_istream/ignore/char/1.cc
===================================================================
--- testsuite/27_io/basic_istream/ignore/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/ignore/char/1.cc	(working copy)
@@ -40,9 +40,7 @@
   std::istream is_00(0);
   std::istream is_03(&isbuf_03);
   std::istream is_04(&isbuf_04);
-  std::ios_base::iostate state1, state2, statefail, stateeof;
-  statefail = std::ios_base::failbit;
-  stateeof = std::ios_base::eofbit;
+  std::ios_base::iostate state1, state2;
 
   // istream& read(char_type* s, streamsize n)
   char carray[60] = "";
Index: testsuite/27_io/basic_istream/peek/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_istream/peek/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/peek/wchar_t/1.cc	(working copy)
@@ -37,9 +37,7 @@
   std::wistream is_00(0);
   std::wistream is_03(&isbuf_03);
   std::wistream is_04(&isbuf_04);
-  std::ios_base::iostate state1, state2, statefail, stateeof;
-  statefail = std::ios_base::failbit;
-  stateeof = std::ios_base::eofbit;
+  std::ios_base::iostate state1, state2;
 
   wchar_t carray[60] = L"";
 
Index: testsuite/27_io/basic_istream/peek/char/1.cc
===================================================================
--- testsuite/27_io/basic_istream/peek/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/peek/char/1.cc	(working copy)
@@ -40,9 +40,7 @@
   std::istream is_00(0);
   std::istream is_03(&isbuf_03);
   std::istream is_04(&isbuf_04);
-  std::ios_base::iostate state1, state2, statefail, stateeof;
-  statefail = std::ios_base::failbit;
-  stateeof = std::ios_base::eofbit;
+  std::ios_base::iostate state1, state2;
 
   char carray[60] = "";
 
Index: testsuite/27_io/basic_istream/ws/wchar_t/1.cc
===================================================================
--- testsuite/27_io/basic_istream/ws/wchar_t/1.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/ws/wchar_t/1.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2009, 2010 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
@@ -31,7 +31,6 @@
   std::wstring str02(str_lit01);
   std::wstring str04;
   std::wstring str05;
-  std::ios_base::iostate flag3, flag4, flag5;
 
   // template<_CharT, _Traits>
   //  basic_istream<_CharT, _Traits>& ws(basic_istream<_Char, _Traits>& is)
@@ -58,9 +57,6 @@
   VERIFY( str05 == L"barbara" );
   VERIFY( str05 == str04 );
 
-  flag3 = std::ios_base::eofbit;
-  flag4 = std::ios_base::badbit;
-  flag5 = std::ios_base::failbit;
   VERIFY( !iss01.fail() );
   VERIFY( !iss02.fail() );
   VERIFY( !iss01.eof() );
Index: testsuite/27_io/basic_istream/ws/char/1.cc
===================================================================
--- testsuite/27_io/basic_istream/ws/char/1.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/ws/char/1.cc	(working copy)
@@ -1,6 +1,7 @@
 // 1999-07-22 bkoz
 
-// Copyright (C) 1994, 1999, 2001, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 1994, 1999, 2001, 2003, 2009, 2010
+// 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
@@ -33,7 +34,6 @@
   std::string str02(str_lit01);
   std::string str04;
   std::string str05;
-  std::ios_base::iostate flag3, flag4, flag5;
 
   // template<_CharT, _Traits>
   //  basic_istream<_CharT, _Traits>& ws(basic_istream<_Char, _Traits>& is)
@@ -60,9 +60,6 @@
   VERIFY( str05 == "barbara" );
   VERIFY( str05 == str04 );
 
-  flag3 = std::ios_base::eofbit;
-  flag4 = std::ios_base::badbit;
-  flag5 = std::ios_base::failbit;
   VERIFY( !iss01.fail() );
   VERIFY( !iss02.fail() );
   VERIFY( !iss01.eof() );
Index: testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc
===================================================================
--- testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004, 2005, 2006, 2009 Free Software Foundation
+// Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -32,7 +32,7 @@
   // seekg
   {
     wistringstream iss(num1);
-    wistream::pos_type pos1 = iss.tellg();
+    iss.tellg();
     int asNum = 0;
     iss >> asNum;
     VERIFY( test = iss.eof() );
Index: testsuite/27_io/basic_istream/seekg/char/8348-2.cc
===================================================================
--- testsuite/27_io/basic_istream/seekg/char/8348-2.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/seekg/char/8348-2.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2000-06-29 bkoz
 
-// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -35,7 +35,7 @@
   // seekg
   {
     istringstream iss(num1);
-    istream::pos_type pos1 = iss.tellg();
+    iss.tellg();
     int asNum = 0;
     iss >> asNum;
     VERIFY( test = iss.eof() );
Index: testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc
===================================================================
--- testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc	(working copy)
@@ -32,7 +32,7 @@
   // tellg
   {
     wistringstream iss(num1);
-    wistream::pos_type pos1 = iss.tellg();
+    iss.tellg();
     int asNum = 0;
     iss >> asNum;
     VERIFY( test = iss.eof() );
@@ -44,7 +44,7 @@
   // seekg
   {
     wistringstream iss(num1);
-    wistream::pos_type pos1 = iss.tellg();
+    iss.tellg();
     int asNum = 0;
     iss >> asNum;
     VERIFY( test = iss.eof() );
Index: testsuite/27_io/basic_istream/tellg/char/8348.cc
===================================================================
--- testsuite/27_io/basic_istream/tellg/char/8348.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/tellg/char/8348.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2000-06-29 bkoz
 
-// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -35,7 +35,7 @@
   // tellg
   {
     istringstream iss(num1);
-    istream::pos_type pos1 = iss.tellg();
+    iss.tellg();
     int asNum = 0;
     iss >> asNum;
     VERIFY( test = iss.eof() );
@@ -47,7 +47,7 @@
   // seekg
   {
     istringstream iss(num1);
-    istream::pos_type pos1 = iss.tellg();
+    iss.tellg();
     int asNum = 0;
     iss >> asNum;
     VERIFY( test = iss.eof() );
Index: testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc
===================================================================
--- testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc	(working copy)
@@ -59,11 +59,8 @@
   long double 		ld1 = 0;
 
   // process alphanumeric versions of bool values
-  std::ios_base::fmtflags fmt = is_02.flags();
-  bool testfmt = fmt & std::ios_base::boolalpha;
   is_02.setf(std::ios_base::boolalpha);
-  fmt = is_02.flags();
-  testfmt = fmt & std::ios_base::boolalpha;
+  is_02.flags();
   is_02 >> b1;
   VERIFY( b1 == 1 );
   is_02 >> b1;
@@ -71,8 +68,7 @@
 
   // process numeric versions of of bool values
   is_02.unsetf(std::ios_base::boolalpha);
-  fmt = is_02.flags();
-  testfmt = fmt & std::ios_base::boolalpha;
+  is_02.flags();
   is_02 >> b1;
   VERIFY( b1 == 0 );
   is_02 >> b1;
Index: testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc
===================================================================
--- testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc	(revision 160388)
+++ testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc	(working copy)
@@ -62,11 +62,8 @@
   long double 		ld1 = 0;
 
   // process alphanumeric versions of bool values
-  std::ios_base::fmtflags fmt = is_02.flags();
-  bool testfmt = fmt & std::ios_base::boolalpha;
   is_02.setf(std::ios_base::boolalpha);
-  fmt = is_02.flags();
-  testfmt = fmt & std::ios_base::boolalpha;
+  is_02.flags();
   is_02 >> b1;
   VERIFY( b1 == 1 );
   is_02 >> b1;
@@ -74,8 +71,7 @@
 
   // process numeric versions of of bool values
   is_02.unsetf(std::ios_base::boolalpha);
-  fmt = is_02.flags();
-  testfmt = fmt & std::ios_base::boolalpha;
+  is_02.flags();
   is_02 >> b1;
   VERIFY( b1 == 0 );
   is_02 >> b1;
Index: testsuite/27_io/fpos/mbstate_t/4_neg.cc
===================================================================
--- testsuite/27_io/fpos/mbstate_t/4_neg.cc	(revision 160388)
+++ testsuite/27_io/fpos/mbstate_t/4_neg.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2003, 2009
+// Copyright (C) 2003, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -32,6 +32,8 @@
 
   // Explicit conversion
   n = static_cast<long>(pos); // { dg-error "invalid static_cast" "" { xfail *-*-* } }
+
+  n = n; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/27_io/fpos/mbstate_t/2.cc
===================================================================
--- testsuite/27_io/fpos/mbstate_t/2.cc	(revision 160388)
+++ testsuite/27_io/fpos/mbstate_t/2.cc	(working copy)
@@ -1,6 +1,6 @@
 // 1999-09-20 bkoz
 
-// Copyright (C) 1999, 2001, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 1999, 2001, 2003, 2009, 2010 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
@@ -60,7 +60,6 @@
   pos04 += off02;
   VERIFY( pos03 == pos04 );
   std::streampos pos05 = pos03;
-  std::streampos pos06 = pos03 + off02;
   VERIFY ( pos05 == pos03 );
 
   // q = p - o
@@ -69,7 +68,6 @@
   pos04 -= off02;
   VERIFY( pos03 == pos04 );
   std::streampos pos07 = pos03;
-  std::streampos pos08 = pos03 - off02;
   VERIFY ( pos07 == pos03 );
 
   // o = p - q
Index: testsuite/27_io/fpos/mbstate_t/3.cc
===================================================================
--- testsuite/27_io/fpos/mbstate_t/3.cc	(revision 160388)
+++ testsuite/27_io/fpos/mbstate_t/3.cc	(working copy)
@@ -1,6 +1,6 @@
 // 1999-09-20 bkoz
 
-// Copyright (C) 1999, 2001, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 1999, 2001, 2003, 2009, 2010 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
@@ -34,6 +34,7 @@
   // casts to const streamoff
   const std::streampos pos01 = 0;
   off01 = std::streamoff(pos01);
+  off01 = off01; // Suppress unused warning.
 
   // equality/inequality with const args
   const std::streampos pos02(54);
Index: testsuite/27_io/fpos/mbstate_t/5.cc
===================================================================
--- testsuite/27_io/fpos/mbstate_t/5.cc	(revision 160388)
+++ testsuite/27_io/fpos/mbstate_t/5.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-03-13  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -32,7 +32,9 @@
 
   test01 = pos01 == -1;
   test01 = -1 == pos01;  
+  test01 = test01; // Suppress unused warning.
 
   test02 = pos02 != -1;
   test02 = -1 != pos02;
+  test02 = test02; // Suppress unused warning.
 }
Index: testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc
===================================================================
--- testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc	(revision 160388)
+++ testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc	(working copy)
@@ -1,6 +1,6 @@
 // 1999-08-16 bkoz
 
-// Copyright (C) 1999, 2000, 2002, 2003, 2009 Free Software Foundation
+// Copyright (C) 1999, 2000, 2002, 2003, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -35,9 +35,6 @@
 
   std::wostringstream oss_02(str_01, std::ios_base::out);
 
-  std::ios_base::iostate statefail;
-  statefail = std::ios_base::failbit;
-
   // template<_CharT, _Traits>
   //  basic_ostream& operator<<(ostream&, const wchar_t*)
   for (int i = 0; i < i_max; ++i) 
Index: testsuite/27_io/basic_ostream/inserters_character/char/4.cc
===================================================================
--- testsuite/27_io/basic_ostream/inserters_character/char/4.cc	(revision 160388)
+++ testsuite/27_io/basic_ostream/inserters_character/char/4.cc	(working copy)
@@ -1,6 +1,7 @@
 // 1999-08-16 bkoz
 
-// Copyright (C) 1999, 2000, 2002, 2003, 2005, 2009 Free Software Foundation
+// Copyright (C) 1999, 2000, 2002, 2003, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -35,9 +36,6 @@
 
   std::ostringstream oss_02(str_01, std::ios_base::out);
 
-  std::ios_base::iostate statefail;
-  statefail = std::ios_base::failbit;
-
   // template<_CharT, _Traits>
   //  basic_ostream& operator<<(ostream&, const char*)
   for (int i = 0; i < i_max; ++i) 
Index: testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc
===================================================================
--- testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -40,7 +40,7 @@
 
   streamsize 			strmsz_1, strmsz_2;
   char carray2[8192] = "";
-  int_type 			c2, c4;
+  int_type 			c2;
   
   // streamsize sgetn(char_type *s, streamsize n)
   // streamsize xsgetn(char_type *s, streamsize n)
@@ -63,7 +63,7 @@
     strmsz_2 = fb_02.sgetn(carray2, strmsz_1 + 5);
     VERIFY( strmsz_1 == -1 );
     VERIFY( strmsz_2 == 0 );
-    c4 = fb_02.sgetc(); 
+    fb_02.sgetc(); 
     VERIFY( fb_02.unbuffered() );
     VERIFY( !fb_02.read_position() );
   }
Index: testsuite/27_io/basic_filebuf/seekoff/12790-4.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/12790-4.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/12790-4.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2003, 2005, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005, 2009, 2010 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
@@ -47,7 +47,7 @@
   fb.sputc(pod_uchar::from<char>(0xff));
 
   // Check that seekoff sets the current state during output
-  traits_type::pos_type pos = fb.pubseekoff(0, ios_base::cur);
+  fb.pubseekoff(0, ios_base::cur);
   fb.sputc(pod_uchar::from<char>('a'));
   fb.sputc(pod_uchar::from<char>(0xff));
   fb.sputc(pod_uchar::from<char>(0));
Index: testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
   typedef filebuf::traits_type 	traits_type;
 
   bool test __attribute__((unused)) = true;
-  streamsize 			strmsz_1, strmsz_2;
+  streamsize 			strmsz_1;
 
   int_type c1;
   int_type c2;
@@ -65,7 +65,7 @@
     //beg
     strmsz_1 = fb.in_avail(); 
     pt_1 = fb.pubseekoff(2, ios_base::beg);
-    strmsz_2 = fb.in_avail(); 
+    fb.in_avail(); 
     off_1 = off_type(pt_1);
     VERIFY( off_1 > 0 );
     c1 = fb.snextc(); //current in pointer +1
Index: testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
   typedef filebuf::traits_type 	traits_type;
 
   bool test __attribute__((unused)) = true;
-  streamsize 			strmsz_1, strmsz_2;
+  streamsize 			strmsz_1;
 
   int_type c1;
   int_type c2;
@@ -66,7 +66,7 @@
     //beg
     strmsz_1 = fb.in_avail(); 
     pt_1 = fb.pubseekoff(2, ios_base::beg);
-    strmsz_2 = fb.in_avail(); 
+    fb.in_avail(); 
     off_1 = off_type(pt_1);
     VERIFY( off_1 > 0 );
     c1 = fb.snextc(); //current in pointer +1
Index: testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
   typedef filebuf::traits_type 	traits_type;
 
   bool test __attribute__((unused)) = true;
-  streamsize 			strmsz_1, strmsz_2;
+  streamsize 			strmsz_1;
 
   int_type c1;
   int_type c2;
@@ -66,7 +66,7 @@
     //beg
     strmsz_1 = fb.in_avail(); 
     pt_1 = fb.pubseekoff(2, ios_base::beg);
-    strmsz_2 = fb.in_avail(); 
+    fb.in_avail(); 
     off_1 = off_type(pt_1);
     VERIFY( off_1 > 0 );
     c1 = fb.snextc(); //current in pointer +1
Index: testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
   typedef filebuf::off_type 	off_type;
 
   bool test __attribute__((unused)) = true;
-  streamsize 			strmsz_1, strmsz_2;
+  streamsize 			strmsz_1;
 
   int_type c1;
   int_type c2;
@@ -66,7 +66,7 @@
     //beg
     strmsz_1 = fb.in_avail(); 
     pt_1 = fb.pubseekoff(2, ios_base::beg);
-    strmsz_2 = fb.in_avail(); 
+    fb.in_avail(); 
     off_1 = off_type(pt_1);
     VERIFY( off_1 > 0 );
     c1 = fb.snextc(); //current in pointer +1
Index: testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
   typedef filebuf::traits_type 	traits_type;
 
   bool test __attribute__((unused)) = true;
-  streamsize 			strmsz_1, strmsz_2;
+  streamsize 			strmsz_1;
 
   int_type c1;
   int_type c2;
@@ -66,7 +66,7 @@
     //beg
     strmsz_1 = fb.in_avail(); 
     pt_1 = fb.pubseekoff(2, ios_base::beg);
-    strmsz_2 = fb.in_avail(); 
+    fb.in_avail(); 
     off_1 = off_type(pt_1);
     VERIFY( off_1 > 0 );
     c1 = fb.snextc(); //current in pointer +1
Index: testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc
===================================================================
--- testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
   typedef filebuf::off_type 	off_type;
 
   bool test __attribute__((unused)) = true;
-  streamsize 			strmsz_1, strmsz_2;
+  streamsize 			strmsz_1;
 
   int_type c1;
   int_type c2;
@@ -66,7 +66,7 @@
     //beg
     strmsz_1 = fb.in_avail(); 
     pt_1 = fb.pubseekoff(2, ios_base::beg);
-    strmsz_2 = fb.in_avail(); 
+    fb.in_avail(); 
     off_1 = off_type(pt_1);
     VERIFY( off_1 > 0 );
     c1 = fb.snextc(); //current in pointer +1
Index: testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc
===================================================================
--- testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
 
   bool test __attribute__((unused)) = true;
   streamsize 			strmsz_1, strmsz_2;
-  int_type 			c1, c2, c3;
+  int_type 			c1, c2;
 
   // int_type sungetc()
   // if in_cur not avail, return pbackfail(), else decrement and
@@ -56,7 +56,7 @@
     fb_01.sputc('u');
     fb_01.sputc('v');
     fb_01.pubseekoff(-1, std::ios_base::end);
-    c3 = fb_01.sbumpc();
+    fb_01.sbumpc();
     strmsz_1 = fb_01.in_avail();
     c2 = fb_01.sungetc(); 
     strmsz_2 = fb_01.in_avail();
@@ -68,7 +68,7 @@
     c1 = fb_01.sgetc(); 
     c2 = fb_01.sungetc();
     strmsz_2 = fb_01.in_avail(); // 1
-    c3 = fb_01.sgetc();
+    fb_01.sgetc();
     VERIFY( c1 != c2 );
     VERIFY( strmsz_2 != strmsz_1 );
     VERIFY( strmsz_2 == 1 );
Index: testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc
===================================================================
--- testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc	(revision 160388)
+++ testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -41,7 +41,7 @@
 
   bool test __attribute__((unused)) = true;
   streamsize 			strmsz_1, strmsz_2;
-  int_type 			c1, c2, c3;
+  int_type 			c1, c2;
 
   // int_type sungetc()
   // if in_cur not avail, return pbackfail(), else decrement and
@@ -56,7 +56,7 @@
     fb_01.sputc('u');
     fb_01.sputc('v');
     fb_01.pubseekoff(-1, std::ios_base::end);
-    c3 = fb_01.sbumpc();
+    fb_01.sbumpc();
     strmsz_1 = fb_01.in_avail();
     c2 = fb_01.sungetc(); 
     strmsz_2 = fb_01.in_avail();
@@ -68,7 +68,7 @@
     c1 = fb_01.sgetc(); 
     c2 = fb_01.sungetc();
     strmsz_2 = fb_01.in_avail(); // 1
-    c3 = fb_01.sgetc();
+    fb_01.sgetc();
     VERIFY( c1 != c2 );
     VERIFY( strmsz_2 != strmsz_1 );
     VERIFY( strmsz_2 == 1 );
Index: testsuite/25_algorithms/minmax/3.cc
===================================================================
--- testsuite/25_algorithms/minmax/3.cc	(revision 160388)
+++ testsuite/25_algorithms/minmax/3.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2008-09-16  Chris Fairles  <chris.fairles@gmail.com>
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 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
@@ -41,8 +41,7 @@
 {
   bool test __attribute__((unused)) = true;
 
-  std::pair<int, int> z = std::minmax({1, 2, 3, 4, 5, 6, 7, 8},
-				      compare_counter());
+  std::minmax({1, 2, 3, 4, 5, 6, 7, 8}, compare_counter());
 
   // If N is the number of arguments in the minmax function call, 
   // 25.3.7 specifies that at most 3N/2 comparisons are allowed.
Index: testsuite/19_diagnostics/logic_error/what-3.cc
===================================================================
--- testsuite/19_diagnostics/logic_error/what-3.cc	(revision 160388)
+++ testsuite/19_diagnostics/logic_error/what-3.cc	(working copy)
@@ -1,6 +1,6 @@
 // { dg-options "-std=gnu++0x" }
 
-// Copyright (C) 2007, 2009
+// Copyright (C) 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -32,6 +32,9 @@
   __extension__ char array[num];
   for (size_t i = 0; i < num; i++) 
     array[i]=0;
+  // Suppress unused warnings.
+  for (size_t i = 0; i < num; i++) 
+    array[i]=array[i];
 }
 
 void test04()
Index: testsuite/19_diagnostics/runtime_error/what-3.cc
===================================================================
--- testsuite/19_diagnostics/runtime_error/what-3.cc	(revision 160388)
+++ testsuite/19_diagnostics/runtime_error/what-3.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-02-26 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -34,6 +34,9 @@
   __extension__ char array[num];
   for (size_t i = 0; i < num; i++) 
     array[i]=0;
+  // Suppress unused warnings.
+  for (size_t i = 0; i < num; i++) 
+    array[i]=array[i];
 }
 
 void test04()
Index: testsuite/19_diagnostics/system_error/what-3.cc
===================================================================
--- testsuite/19_diagnostics/system_error/what-3.cc	(revision 160388)
+++ testsuite/19_diagnostics/system_error/what-3.cc	(working copy)
@@ -1,6 +1,6 @@
 // { dg-options "-std=gnu++0x" }
 
-// Copyright (C) 2007, 2009
+// Copyright (C) 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -32,6 +32,9 @@
   __extension__ char array[num];
   for (size_t i = 0; i < num; i++) 
     array[i]=0;
+  // Suppress unused warnings.
+  for (size_t i = 0; i < num; i++) 
+    array[i]=array[i];
 }
 
 void test04()
Index: testsuite/24_iterators/front_insert_iterator/2.cc
===================================================================
--- testsuite/24_iterators/front_insert_iterator/2.cc	(revision 160388)
+++ testsuite/24_iterators/front_insert_iterator/2.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-06-21  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2004, 2005, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2004, 2005, 2009, 2010 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
@@ -27,6 +27,7 @@
   typedef std::front_insert_iterator<std::list<int> > iterator_type;
   std::list<int> li;
   iterator_type it = std::front_inserter(li);
+  it = it; // Suppress unused warning.
 }
 
 int main() 
Index: testsuite/24_iterators/back_insert_iterator/2.cc
===================================================================
--- testsuite/24_iterators/back_insert_iterator/2.cc	(revision 160388)
+++ testsuite/24_iterators/back_insert_iterator/2.cc	(working copy)
@@ -1,6 +1,7 @@
 // 2001-06-21  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2004, 2005, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2004, 2005, 2009, 2010
+// 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
@@ -27,6 +28,7 @@
   typedef std::back_insert_iterator<std::list<int> > iterator_type;
   std::list<int> li;
   iterator_type it = std::back_inserter(li);
+  it = it; // Suppress unused warning.
 }
 
 int main() 
Index: testsuite/24_iterators/insert_iterator/2.cc
===================================================================
--- testsuite/24_iterators/insert_iterator/2.cc	(revision 160388)
+++ testsuite/24_iterators/insert_iterator/2.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-06-21  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2004, 2005, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2004, 2005, 2009, 2010 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
@@ -30,6 +30,8 @@
   std::list<int>::iterator liit = li.begin();
   iterator_type it01(li, liit);
   iterator_type it02 = std::inserter(li, liit);
+  it01 = it01; // Suppress unused warnings.
+  it02 = it02;
 }
 
 int main() 
Index: testsuite/18_support/exception_ptr/make_exception_ptr.cc
===================================================================
--- testsuite/18_support/exception_ptr/make_exception_ptr.cc	(revision 160388)
+++ testsuite/18_support/exception_ptr/make_exception_ptr.cc	(working copy)
@@ -21,7 +21,7 @@
 #include <exception>
 #include <testsuite_hooks.h>
 
-bool test01()
+void test01()
 {
   bool test __attribute__((unused)) = true;
 
Index: testsuite/21_strings/c_strings/wchar_t/1.cc
===================================================================
--- testsuite/21_strings/c_strings/wchar_t/1.cc	(revision 160388)
+++ testsuite/21_strings/c_strings/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-04-02  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2009, 2010 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
@@ -59,6 +59,9 @@
   // wchar_t* wmemchr(      wchar_t* s, wchar_t c, size_t n);
   cc1 = std::wmemchr(ccarray1, L'a', 3);
   c1 = std::wmemchr(carray, L'a', 3);
+
+  cc1 = cc1; // Suppress unused warnings.
+  c1 = c1;
 }
 
 int main()
Index: testsuite/21_strings/c_strings/wchar_t/2.cc
===================================================================
--- testsuite/21_strings/c_strings/wchar_t/2.cc	(revision 160388)
+++ testsuite/21_strings/c_strings/wchar_t/2.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-04-02  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2009, 2010 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
@@ -39,6 +39,9 @@
   cw = wcspbrk(ccarray1, ccarray2);
   cw = wcsrchr(ccarray1, L'c');
   w = wcsstr(carray, carray);
+
+  cw = cw; // Suppress unused warnings.
+  w = w;
 }
 
 int main()
Index: testsuite/21_strings/c_strings/char/1.cc
===================================================================
--- testsuite/21_strings/c_strings/char/1.cc	(revision 160388)
+++ testsuite/21_strings/c_strings/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-04-02  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2003, 2009, 2010 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
@@ -60,6 +60,9 @@
   // void* memchr(      void* s, int c, size_t n);
   cv = std::memchr(cv, 'a', 3);
   v = std::memchr(v, 'a', 3);
+
+  cc1 = cc1; // Suppress unused warnings.
+  c1 = c1;
 }
 
 int main()
Index: testsuite/21_strings/c_strings/char/2.cc
===================================================================
--- testsuite/21_strings/c_strings/char/2.cc	(revision 160388)
+++ testsuite/21_strings/c_strings/char/2.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-04-02  Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2003, 2009, 2010 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
@@ -40,6 +40,10 @@
   cc = strrchr(ccarray1, 'c');
   cc = strpbrk(ccarray1, ccarray2);
   c = strstr(carray, carray);
+
+  cv1 = cv1; // Suppress unused warnings.
+  cc = cc;
+  c = c;
 }
 
 int main()
Index: testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc
===================================================================
--- testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc	(revision 160388)
+++ testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc	(working copy)
@@ -34,6 +34,7 @@
 
   const auto f(e);
   auto g(f);
+  g = g; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc
===================================================================
--- testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc	(revision 160388)
+++ testsuite/26_numerics/random/subtract_with_carry_engine/cons/copy.cc	(working copy)
@@ -29,6 +29,7 @@
 
   const auto f(e);
   auto g(f);
+  g = g; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc
===================================================================
--- testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc	(revision 160388)
+++ testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constants.cc	(working copy)
@@ -4,7 +4,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -31,6 +31,7 @@
   p = &swc.short_lag;
   p = &swc.long_lag;
   p = &swc.default_seed;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/discard_block_engine/cons/copy.cc
===================================================================
--- testsuite/26_numerics/random/discard_block_engine/cons/copy.cc	(revision 160388)
+++ testsuite/26_numerics/random/discard_block_engine/cons/copy.cc	(working copy)
@@ -33,6 +33,7 @@
 
   const auto f(e);
   auto g(f);
+  g = g; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc
===================================================================
--- testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc	(revision 160388)
+++ testsuite/26_numerics/random/mersenne_twister_engine/cons/copy.cc	(working copy)
@@ -36,6 +36,7 @@
 
   const auto f(e);
   auto g(f);
+  g = g; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc
===================================================================
--- testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc	(revision 160388)
+++ testsuite/26_numerics/random/mersenne_twister_engine/requirements/constants.cc	(working copy)
@@ -4,7 +4,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -41,6 +41,7 @@
   p = &mt.tempering_l;
   p = &mt.initialization_multiplier;
   p = &mt.default_seed;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc
===================================================================
--- testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc	(revision 160388)
+++ testsuite/26_numerics/random/linear_congruential_engine/cons/copy.cc	(working copy)
@@ -28,7 +28,8 @@
   std::linear_congruential_engine<unsigned long, 48271, 0, 2147483647> e(1);
 
   const auto f(e);
-  auto g(f);  
+  auto g(f);
+  g = g; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc
===================================================================
--- testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc	(revision 160388)
+++ testsuite/26_numerics/random/linear_congruential_engine/requirements/constants.cc	(working copy)
@@ -4,7 +4,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -31,6 +31,7 @@
   p = &lc.increment;
   p = &lc.modulus;
   p = &lc.default_seed;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc
===================================================================
--- testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc	(revision 160388)
+++ testsuite/26_numerics/random/shuffle_order_engine/cons/copy.cc	(working copy)
@@ -33,6 +33,7 @@
 
   const auto f(e);
   auto g(f);
+  g = g; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc
===================================================================
--- testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc	(revision 160388)
+++ testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc	(working copy)
@@ -4,7 +4,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -29,6 +29,7 @@
 
   const void* p = &so.table_size;
   p = &so.table_size;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/26_numerics/complex/complex_value.cc
===================================================================
--- testsuite/26_numerics/complex/complex_value.cc	(revision 160388)
+++ testsuite/26_numerics/complex/complex_value.cc	(working copy)
@@ -3,7 +3,7 @@
 // 2000-11-20
 // Benjamin Kosnik bkoz@redhat.com
 
-// Copyright (C) 2000, 2003, 2004, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2003, 2004, 2009, 2010 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
@@ -34,27 +34,27 @@
  complex_type a(cd1, cd2);
  double d;
  d = a.real();
- VERIFY( d == cd1);
+ VERIFY( d == cd1 );
 
  d = a.imag();
- VERIFY(d == cd2);
+ VERIFY( d == cd2 );
 
  complex_type c(cd1, cd2);
  double d6 = abs(c);
- VERIFY( d6 >= 0);
+ VERIFY( d6 >= 0 );
 
  double d7 = arg(c);
  double d8 = atan2(c.imag(), c.real());
- VERIFY( d7 == d8);
+ VERIFY( d7 == d8 );
 
  double d9 = norm(c);
  double d10 = d6 * d6;
- VERIFY(d9 - d10 == 0);
+ VERIFY( d9 - d10 == 0 );
 
- complex_type e = conj(c);
+ complex_type e __attribute__((unused)) = conj(c);
  
  complex_type f = polar(c.imag(), 0.0);
- VERIFY(f.real() != 0);
+ VERIFY( f.real() != 0 );
 }
 
 
Index: testsuite/26_numerics/headers/cmath/overloads.cc
===================================================================
--- testsuite/26_numerics/headers/cmath/overloads.cc	(revision 160388)
+++ testsuite/26_numerics/headers/cmath/overloads.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -43,4 +43,5 @@
   ans = std::sinh(j);
   ans = std::tan(i);
   ans = std::tanh(i);
+  ans = ans; // Suppress unused warnings.
 }
Index: testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc
===================================================================
--- testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc	(revision 160388)
+++ testsuite/26_numerics/headers/cmath/c99_classification_macros_c++.cc	(working copy)
@@ -70,6 +70,7 @@
     res = std::islessequal(f1,f2);
     res = std::islessgreater(f1, f2);
     res = std::isunordered(f1, f2);
+    res = res; // Suppress unused warning.
   }
 #endif
 
Index: testsuite/26_numerics/slice_array/array_assignment.cc
===================================================================
--- testsuite/26_numerics/slice_array/array_assignment.cc	(revision 160388)
+++ testsuite/26_numerics/slice_array/array_assignment.cc	(working copy)
@@ -1,6 +1,6 @@
 // 20010613 gdr
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 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
@@ -17,8 +17,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-
-
 // This is DR-253.  Test for accessible assignment-operators.
 #include <valarray>
 #include <testsuite_hooks.h>
@@ -36,7 +34,7 @@
   VERIFY(v[3] == 1 && w[3] == 1);
   VERIFY(v[6] == 1 && w[6] == 1);
 
-  std::slice_array<int> t = v[slice(0, 10, 1)];
+  std::slice_array<int> t __attribute__((unused)) = v[slice(0, 10, 1)];
   
   return 0;
 }
Index: testsuite/22_locale/money_put/put/wchar_t/1.cc
===================================================================
--- testsuite/22_locale/money_put/put/wchar_t/1.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/wchar_t/1.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -53,12 +54,12 @@
   const money_put<wchar_t>& mon_put =
     use_facet<money_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it01 = mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
   wstring result1 = oss.str();
   VERIFY( result1 == L"7.200.000.000,00 " );
 
   oss.str(empty);
-  iterator_type os_it02 = mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
   wstring result2 = oss.str();
   VERIFY( result2 == L"7.200.000.000,00 " );
 
@@ -69,12 +70,12 @@
   oss.setf(ios_base::showbase);
 
   oss.str(empty);
-  iterator_type os_it03 = mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
   wstring result3 = oss.str();
   VERIFY( result3 == L"7.200.000.000,00 EUR " );
 
   oss.str(empty);
-  iterator_type os_it04 = mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
   wstring result4 = oss.str();
   VERIFY( result4 == L"7.200.000.000,00 \x20ac" );
 
@@ -89,14 +90,14 @@
   // test various fill strategies
   oss.str(empty);
   oss.width(20);
-  iterator_type os_it10 = mon_put.put(oss.rdbuf(), true, oss, L'*', digits2);
+  mon_put.put(oss.rdbuf(), true, oss, L'*', digits2);
   wstring result10 = oss.str();
   VERIFY( result10 == L"***************-,01*" );
 
   oss.str(empty);
   oss.width(20);
   oss.setf(ios_base::internal);
-  iterator_type os_it11 = mon_put.put(oss.rdbuf(), true, oss, L'*', digits2);
+  mon_put.put(oss.rdbuf(), true, oss, L'*', digits2);
   wstring result11 = oss.str();
   VERIFY( result11 == L"-,01****************" );
 }
Index: testsuite/22_locale/money_put/put/wchar_t/2.cc
===================================================================
--- testsuite/22_locale/money_put/put/wchar_t/2.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/wchar_t/2.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -64,12 +65,12 @@
 
   // test sign of more than one digit, say hong kong.
   oss.str(empty);
-  iterator_type os_it05 = mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
   wstring result5 = oss.str();
   VERIFY( result5 == L"HK$7,200,000,000.00" );
 
   oss.str(empty);
-  iterator_type os_it06 = mon_put.put(oss.rdbuf(), true, oss, L' ', digits2);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', digits2);
   wstring result6 = oss.str();
   VERIFY( result6 == L"(HKD 100,000,000,000.00)" );
 
@@ -78,7 +79,7 @@
   oss.str(empty);
   const money_put<wchar_t>& mon_put2 =
     use_facet<money_put<wchar_t> >(oss.getloc()); 
-  iterator_type os_it07 = mon_put2.put(oss.rdbuf(), true, oss, L' ', digits4);
+  mon_put2.put(oss.rdbuf(), true, oss, L' ', digits4);
   wstring result7 = oss.str();
   VERIFY( result7 == L"1" );
 
@@ -87,7 +88,7 @@
   oss.str(empty);
   const money_put<wchar_t>& mon_put3 =
     use_facet<money_put<wchar_t> >(oss.getloc()); 
-  iterator_type os_it08 = mon_put3.put(oss.rdbuf(), true, oss, L' ', digits4);
+  mon_put3.put(oss.rdbuf(), true, oss, L' ', digits4);
   wstring result8 = oss.str();
   VERIFY( result8 == L"(HKD .01)" );
 
@@ -95,7 +96,7 @@
 
   // test bunk input
   oss.str(empty);
-  iterator_type os_it09 = mon_put.put(oss.rdbuf(), true, oss, L' ', digits3);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', digits3);
   wstring result9 = oss.str();
   VERIFY( result9 == L"" );
 }
Index: testsuite/22_locale/money_put/put/wchar_t/3.cc
===================================================================
--- testsuite/22_locale/money_put/put/wchar_t/3.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/wchar_t/3.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -50,12 +51,12 @@
   const money_put<wchar_t>& mon_put =
     use_facet<money_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it01 = mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
   wstring result1 = oss.str();
   VERIFY( result1 == L"7.200.000.000,00 " );
 
   oss.str(empty);
-  iterator_type os_it02 = mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
   wstring result2 = oss.str();
   VERIFY( result2 == L"7.200.000.000,00 " );
 
@@ -66,12 +67,12 @@
   oss.setf(ios_base::showbase);
 
   oss.str(empty);
-  iterator_type os_it03 = mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', digits1);
   wstring result3 = oss.str();
   VERIFY( result3 == L"7.200.000.000,00 EUR " );
 
   oss.str(empty);
-  iterator_type os_it04 = mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, L' ', digits1);
   wstring result4 = oss.str();
   VERIFY( result4 == L"7.200.000.000,00 \x20ac" );
 
Index: testsuite/22_locale/money_put/put/wchar_t/12971.cc
===================================================================
--- testsuite/22_locale/money_put/put/wchar_t/12971.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/wchar_t/12971.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2003-11-09 Paolo Carlini <pcarlini@suse.de>
 
-// Copyright (C) 2003, 2004, 2009 Free Software Foundation
+// Copyright (C) 2003, 2004, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -38,7 +38,7 @@
   const money_put<wchar_t>& mon_put =
     use_facet<money_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it01 = mon_put.put(oss.rdbuf(), true, oss, L' ', amount);
+  mon_put.put(oss.rdbuf(), true, oss, L' ', amount);
   wstring result = oss.str();
   VERIFY( result == L"11" );
 }
Index: testsuite/22_locale/money_put/put/char/1.cc
===================================================================
--- testsuite/22_locale/money_put/put/char/1.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/char/1.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -52,12 +53,12 @@
   oss.imbue(loc_de);
   const money_put<char>& mon_put = use_facet<money_put<char> >(oss.getloc()); 
 
-  iterator_type os_it01 = mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
   string result1 = oss.str();
   VERIFY( result1 == "7.200.000.000,00 ");
 
   oss.str(empty);
-  iterator_type os_it02 = mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
   string result2 = oss.str();
   VERIFY( result2 == "7.200.000.000,00 ");
 
@@ -68,12 +69,12 @@
   oss.setf(ios_base::showbase);
 
   oss.str(empty);
-  iterator_type os_it03 = mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
   string result3 = oss.str();
   VERIFY( result3 == "7.200.000.000,00 EUR ");
 
   oss.str(empty);
-  iterator_type os_it04 = mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
   string result4 = oss.str();
   VERIFY( result4 == "7.200.000.000,00 \244");
 
@@ -88,14 +89,14 @@
   // test various fill strategies
   oss.str(empty);
   oss.width(20);
-  iterator_type os_it10 = mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
+  mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
   string result10 = oss.str();
   VERIFY( result10 == "***************-,01*");
 
   oss.str(empty);
   oss.width(20);
   oss.setf(ios_base::internal);
-  iterator_type os_it11 = mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
+  mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
   string result11 = oss.str();
   VERIFY( result11 == "-,01****************");
 }
Index: testsuite/22_locale/money_put/put/char/2.cc
===================================================================
--- testsuite/22_locale/money_put/put/char/2.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/char/2.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -63,12 +64,12 @@
 
   // test sign of more than one digit, say hong kong.
   oss.str(empty);
-  iterator_type os_it05 = mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
   string result5 = oss.str();
   VERIFY( result5 == "HK$7,200,000,000.00");
 
   oss.str(empty);
-  iterator_type os_it06 = mon_put.put(oss.rdbuf(), true, oss, ' ', digits2);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', digits2);
   string result6 = oss.str();
   VERIFY( result6 == "(HKD 100,000,000,000.00)");
 
@@ -76,7 +77,7 @@
   oss.imbue(loc_c);
   oss.str(empty);
   const money_put<char>& mon_put2 = use_facet<money_put<char> >(oss.getloc()); 
-  iterator_type os_it07 = mon_put2.put(oss.rdbuf(), true, oss, ' ', digits4);
+  mon_put2.put(oss.rdbuf(), true, oss, ' ', digits4);
   string result7 = oss.str();
   VERIFY( result7 == "1");
 
@@ -84,7 +85,7 @@
   oss.imbue(loc_hk);
   oss.str(empty);
   const money_put<char>& mon_put3 = use_facet<money_put<char> >(oss.getloc()); 
-  iterator_type os_it08 = mon_put3.put(oss.rdbuf(), true, oss, ' ', digits4);
+  mon_put3.put(oss.rdbuf(), true, oss, ' ', digits4);
   string result8 = oss.str();
   VERIFY( result8 == "(HKD .01)");
 
@@ -92,7 +93,7 @@
 
   // test bunk input
   oss.str(empty);
-  iterator_type os_it09 = mon_put.put(oss.rdbuf(), true, oss, ' ', digits3);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', digits3);
   string result9 = oss.str();
   VERIFY( result9 == "");
 }
Index: testsuite/22_locale/money_put/put/char/3.cc
===================================================================
--- testsuite/22_locale/money_put/put/char/3.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/char/3.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-08-27 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -49,12 +50,12 @@
   oss.imbue(loc_de);
   const money_put<char>& mon_put = use_facet<money_put<char> >(oss.getloc()); 
 
-  iterator_type os_it01 = mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
   string result1 = oss.str();
   VERIFY( result1 == "7.200.000.000,00 ");
 
   oss.str(empty);
-  iterator_type os_it02 = mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
   string result2 = oss.str();
   VERIFY( result2 == "7.200.000.000,00 ");
 
@@ -65,12 +66,12 @@
   oss.setf(ios_base::showbase);
 
   oss.str(empty);
-  iterator_type os_it03 = mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', digits1);
   string result3 = oss.str();
   VERIFY( result3 == "7.200.000.000,00 EUR ");
 
   oss.str(empty);
-  iterator_type os_it04 = mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
+  mon_put.put(oss.rdbuf(), false, oss, ' ', digits1);
   string result4 = oss.str();
   VERIFY( result4 == "7.200.000.000,00 \244");
 
Index: testsuite/22_locale/money_put/put/char/12971.cc
===================================================================
--- testsuite/22_locale/money_put/put/char/12971.cc	(revision 160388)
+++ testsuite/22_locale/money_put/put/char/12971.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2003-11-09 Paolo Carlini <pcarlini@suse.de>
 
-// Copyright (C) 2003, 2009 Free Software Foundation
+// Copyright (C) 2003, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -37,7 +37,7 @@
   ostringstream oss;
   const money_put<char>& mon_put = use_facet<money_put<char> >(oss.getloc()); 
 
-  iterator_type os_it01 = mon_put.put(oss.rdbuf(), true, oss, ' ', amount);
+  mon_put.put(oss.rdbuf(), true, oss, ' ', amount);
   string result = oss.str();
   VERIFY( result == "11" );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/1.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/1.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -43,34 +43,35 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_c);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
 
   // 1
   // iter_type 
   // put(iter_type s, ios_base& str, char_type fill, const tm* t,
   //	 char format, char modifier = 0) const;
   oss.str(empty);
-  iterator_type os_it01 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
   wstring result1 = oss.str();
   VERIFY( result1 == L"Sun" );
 
   oss.str(empty);
-  iterator_type os_it21 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
   wstring result21 = oss.str(); // "04/04/71"
   VERIFY( result21 == L"04/04/71" );
 
   oss.str(empty);
-  iterator_type os_it22 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
   wstring result22 = oss.str(); // "12:00:00"
   VERIFY( result22 == L"12:00:00" );
 
   oss.str(empty);
-  iterator_type os_it31 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
   wstring result31 = oss.str(); // "04/04/71"
   VERIFY( result31 == L"04/04/71" );
 
   oss.str(empty);
-  iterator_type os_it32 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
   wstring result32 = oss.str(); // "12:00:00"
   VERIFY( result32 == L"12:00:00" );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/2.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/2.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/2.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -45,29 +45,30 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_de);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it02 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
   wstring result2 = oss.str();
   VERIFY( result2 == L"Son" || result2 == L"So" );
 
   oss.str(empty); // "%d.%m.%Y"
-  iterator_type os_it23 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
   wstring result23 = oss.str(); // "04.04.1971"
   VERIFY( result23 == L"04.04.1971" );
 
   oss.str(empty); // "%T"
-  iterator_type os_it24 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
   wstring result24 = oss.str(); // "12:00:00"
   VERIFY( result24 == L"12:00:00" );
 
   oss.str(empty);
-  iterator_type os_it33 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
   wstring result33 = oss.str(); // "04.04.1971"
   VERIFY( result33 == L"04.04.1971" );
 
   oss.str(empty);
-  iterator_type os_it34 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
   wstring result34 = oss.str(); // "12:00:00"
   VERIFY( result34 == L"12:00:00" );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/3.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/3.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/3.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -45,32 +45,32 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_hk);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it03 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
   wstring result3 = oss.str();
   VERIFY( result3 == L"Sun" );
 
   oss.str(empty); // "%A, %B %d, %Y"
-  iterator_type os_it25 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
   wstring result25 = oss.str(); // "Sunday, April 04, 1971"
   VERIFY( result25 == L"Sunday, April 04, 1971" );
 
   oss.str(empty); // "%I:%M:%S %Z"
-  iterator_type os_it26 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
   wstring result26 = oss.str(); // "12:00:00 CET" or whatever timezone
   VERIFY( result26.find(L"12:00:00") != wstring::npos );
 
   oss.str(empty);
-  iterator_type os_it35 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
   wstring result35 = oss.str(); // "Sunday, April 04, 1971"
   VERIFY( result35 == L"Sunday, April 04, 1971" );
 
   oss.str(empty);
-  iterator_type os_it36 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
   wstring result36 = oss.str(); // "12:00:00 CET"
   VERIFY( result36.find(L"12:00:00") != wstring::npos );
-
 }
 
 int main()
Index: testsuite/22_locale/time_put/put/wchar_t/4.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/4.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/4.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
+// 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -45,28 +46,30 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_es);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
-  iterator_type os_it04 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a');
   wstring result4 = oss.str();
   VERIFY( result4 == L"dom" );
 
   oss.str(empty); // "%d/%m/%y"
-  iterator_type os_it27 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x');
   wstring result27 = oss.str(); // "04/04/71"
   VERIFY( result27 == L"04/04/71" );
 
   oss.str(empty); // "%T"
-  iterator_type os_it28 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X');
   wstring result28 = oss.str(); // "12:00:00"
   VERIFY( result28 == L"12:00:00" );
 
   oss.str(empty);
-  iterator_type os_it37 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x', 'E');
   wstring result37 = oss.str(); // "04/04/71"
   VERIFY( result37 == L"04/04/71" );
 
   oss.str(empty);
-  iterator_type os_it38 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'X', 'E');
   wstring result38 = oss.str(); // "12:00:00"
   VERIFY( result38 == L"12:00:00" );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/5.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/5.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -46,17 +46,17 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_c);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
 
   // 2
   oss.str(empty);
-  iterator_type os_it05 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date, date + traits::length(date));
   wstring result5 = oss.str();
   VERIFY( result5 == L"Sunday, the second of April");
-  iterator_type os_it06 = tim_put.put(oss.rdbuf(), oss, L'*', &time1,
-				      date_ex,
-				      date_ex + traits::length(date_ex));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1,
+	      date_ex, date_ex + traits::length(date_ex));
   wstring result6 = oss.str();
   VERIFY( result6 != result5 );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/6.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/6.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/6.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -48,14 +48,15 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_de);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it07 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date, date + traits::length(date));
   wstring result7 = oss.str();
   VERIFY( result7 == L"Sonntag, the second of April");
-  iterator_type os_it08 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date_ex, date_ex + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date_ex, date_ex + traits::length(date));
   wstring result8 = oss.str();
   VERIFY( result8 != result7 );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/7.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/7.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/7.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -48,14 +48,15 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_hk);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it09 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date, date + traits::length(date));
   wstring result9 = oss.str();
   VERIFY( result9 == L"Sunday, the second of April");
-  iterator_type os_it10 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date_ex, date_ex + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date_ex, date_ex + traits::length(date));
   wstring result10 = oss.str();
   VERIFY( result10 != result9 );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/8.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/8.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/8.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -48,13 +48,15 @@
   const wstring empty;
   wostringstream oss;
   oss.imbue(loc_fr);
-  const time_put<wchar_t>& tim_put = use_facet<time_put<wchar_t> >(oss.getloc()); 
-  iterator_type os_it11 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date, date + traits::length(date));
+  const time_put<wchar_t>& tim_put
+    = use_facet<time_put<wchar_t> >(oss.getloc()); 
+  
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date, date + traits::length(date));
   wstring result11 = oss.str();
   VERIFY( result11 == L"dimanche, the second of avril");
-  iterator_type os_it12 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
-				      date_ex, date_ex + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 
+	      date_ex, date_ex + traits::length(date));
   wstring result12 = oss.str();
   VERIFY( result12 != result11 );
 }
Index: testsuite/22_locale/time_put/put/wchar_t/17038.cc
===================================================================
--- testsuite/22_locale/time_put/put/wchar_t/17038.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/wchar_t/17038.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004, 2005, 2006, 2009 Free Software Foundation
+// Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -47,7 +47,7 @@
   const time_put<wchar_t>& tim_put =
     use_facet<time_put<wchar_t> >(oss.getloc()); 
 
-  iterator_type os_it01 = tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'c');
+  tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'c');
   wstring result1 = oss.str();
 
   wchar_t time_buffer[128];
Index: testsuite/22_locale/time_put/put/char/1.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/1.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -48,27 +48,27 @@
   // put(iter_type s, ios_base& str, char_type fill, const tm* t,
   //	 char format, char modifier = 0) const;
   oss.str(empty);
-  iterator_type os_it01 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
   string result1 = oss.str();
   VERIFY( result1 == "Sun" );
 
   oss.str(empty);
-  iterator_type os_it21 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
   string result21 = oss.str(); // "04/04/71"
   VERIFY( result21 == "04/04/71" );
 
   oss.str(empty);
-  iterator_type os_it22 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
   string result22 = oss.str(); // "12:00:00"
   VERIFY( result22 == "12:00:00" );
   
   oss.str(empty);
-  iterator_type os_it31 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
   string result31 = oss.str(); // "04/04/71"
   VERIFY( result31 == "04/04/71" );
 
   oss.str(empty);
-  iterator_type os_it32 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
   string result32 = oss.str(); // "12:00:00"
   VERIFY( result32 == "12:00:00" );
 }
Index: testsuite/22_locale/time_put/put/char/2.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/2.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/2.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -47,27 +47,27 @@
   oss.imbue(loc_de);
   const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 
 
-  iterator_type os_it02 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
   string result2 = oss.str();
   VERIFY( result2 == "Son" || result2 == "So" );
 
   oss.str(empty); // "%d.%m.%Y"
-  iterator_type os_it23 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
   string result23 = oss.str(); // "04.04.1971"
   VERIFY( result23 == "04.04.1971" );
 
   oss.str(empty); // "%T"
-  iterator_type os_it24 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
   string result24 = oss.str(); // "12:00:00"
   VERIFY( result24 == "12:00:00" );
 
   oss.str(empty);
-  iterator_type os_it33 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
   string result33 = oss.str(); // "04.04.1971"
   VERIFY( result33 == "04.04.1971" );
 
   oss.str(empty);
-  iterator_type os_it34 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
   string result34 = oss.str(); // "12:00:00"
   VERIFY( result34 == "12:00:00" );
 }
Index: testsuite/22_locale/time_put/put/char/3.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/3.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/3.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -47,27 +47,27 @@
   oss.imbue(loc_hk);
   const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 
 
-  iterator_type os_it03 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
   string result3 = oss.str();
   VERIFY( result3 == "Sun" );
 
   oss.str(empty); // "%A, %B %d, %Y"
-  iterator_type os_it25 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
   string result25 = oss.str(); // "Sunday, April 04, 1971"
   VERIFY( result25 == "Sunday, April 04, 1971" );
 
   oss.str(empty); // "%I:%M:%S %Z"
-  iterator_type os_it26 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
   string result26 = oss.str(); // "12:00:00 CET" or whatever timezone
   VERIFY( result26.find("12:00:00") != string::npos );
 
   oss.str(empty);
-  iterator_type os_it35 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
   string result35 = oss.str(); // "Sunday, April 04, 1971"
   VERIFY( result35 == "Sunday, April 04, 1971" );
 
   oss.str(empty);
-  iterator_type os_it36 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
   string result36 = oss.str(); // "12:00:00 CET"
   VERIFY( result36.find("12:00:00") != string::npos );
 }
Index: testsuite/22_locale/time_put/put/char/4.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/4.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/4.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
+// 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -46,27 +47,27 @@
   ostringstream oss;
   oss.imbue(loc_es);
   const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 
-  iterator_type os_it04 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a');
   string result4 = oss.str();
   VERIFY( result4 == "dom" );
 
   oss.str(empty); // "%d/%m/%y"
-  iterator_type os_it27 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x');
   string result27 = oss.str(); // "04/04/71"
   VERIFY( result27 == "04/04/71" );
 
   oss.str(empty); // "%T"
-  iterator_type os_it28 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X');
   string result28 = oss.str(); // "12:00:00"
   VERIFY( result28 == "12:00:00" );
 
   oss.str(empty);
-  iterator_type os_it37 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x', 'E');
   string result37 = oss.str(); // "04/04/71"
   VERIFY( result37 == "04/04/71" );
 
   oss.str(empty);
-  iterator_type os_it38 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'X', 'E');
   string result38 = oss.str(); // "12:00:00"
   VERIFY( result38 == "12:00:00" );
 }
Index: testsuite/22_locale/time_put/put/char/5.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/5.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -48,13 +48,12 @@
 
   // 2
   oss.str(empty);
-  iterator_type os_it05 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date, date + traits::length(date));
   string result5 = oss.str();
   VERIFY( result5 == "Sunday, the second of April");
-  iterator_type os_it06 = tim_put.put(oss.rdbuf(), oss, '*', &time1,
-				      date_ex,
-				      date_ex + traits::length(date_ex));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1,
+	      date_ex, date_ex + traits::length(date_ex));
   string result6 = oss.str();
   VERIFY( result6 != result5 );
 }
Index: testsuite/22_locale/time_put/put/char/6.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/6.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/6.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -50,13 +50,12 @@
   oss.imbue(loc_de);
   const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 
 
-  iterator_type os_it07 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date, date + traits::length(date));
   string result7 = oss.str();
   VERIFY( result7 == "Sonntag, the second of April");
-  iterator_type os_it08 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date_ex,
-				      date_ex + traits::length(date_ex));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date_ex, date_ex + traits::length(date_ex));
   string result8 = oss.str();
   VERIFY( result8 != result7 );
 }
Index: testsuite/22_locale/time_put/put/char/7.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/7.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/7.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -50,13 +50,12 @@
   oss.imbue(loc_hk);
   const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 
 
-  iterator_type os_it09 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date, date + traits::length(date));
   string result9 = oss.str();
   VERIFY( result9 == "Sunday, the second of April");
-  iterator_type os_it10 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date_ex,
-				      date_ex + traits::length(date_ex));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date_ex, date_ex + traits::length(date_ex));
   string result10 = oss.str();
   VERIFY( result10 != result9 );
 }
Index: testsuite/22_locale/time_put/put/char/8.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/8.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/8.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-09-17 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -49,13 +49,12 @@
   ostringstream oss;
   oss.imbue(loc_fr);
   const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 
-  iterator_type os_it11 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date, date + traits::length(date));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date, date + traits::length(date));
   string result11 = oss.str();
   VERIFY( result11 == "dimanche, the second of avril");
-  iterator_type os_it12 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 
-				      date_ex,
-				      date_ex + traits::length(date_ex));
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 
+	      date_ex, date_ex + traits::length(date_ex));
   string result12 = oss.str();
   VERIFY( result12 != result11 );
 }
Index: testsuite/22_locale/time_put/put/char/17038.cc
===================================================================
--- testsuite/22_locale/time_put/put/char/17038.cc	(revision 160388)
+++ testsuite/22_locale/time_put/put/char/17038.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004, 2005, 2006, 2009 Free Software Foundation
+// Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -47,7 +47,7 @@
   const time_put<char>& tim_put =
     use_facet<time_put<char> >(oss.getloc()); 
 
-  iterator_type os_it01 = tim_put.put(oss.rdbuf(), oss, '*', &time1, 'c');
+  tim_put.put(oss.rdbuf(), oss, '*', &time1, 'c');
   string result1 = oss.str();
 
   char time_buffer[128];
Index: testsuite/22_locale/num_put/put/wchar_t/1.cc
===================================================================
--- testsuite/22_locale/num_put/put/wchar_t/1.cc	(revision 160388)
+++ testsuite/22_locale/num_put/put/wchar_t/1.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -62,7 +62,7 @@
 
   // bool, simple
   iterator_type os_it00 = oss.rdbuf();
-  iterator_type os_it01 = np.put(os_it00, oss, L'+', b1);
+  np.put(os_it00, oss, L'+', b1);
   result1 = oss.str();
   VERIFY( result1 == L"1" );
 
Index: testsuite/22_locale/num_put/put/char/1.cc
===================================================================
--- testsuite/22_locale/num_put/put/char/1.cc	(revision 160388)
+++ testsuite/22_locale/num_put/put/char/1.cc	(working copy)
@@ -2,7 +2,8 @@
 
 // 2001-11-19 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010
+// Free Software Foundation
 //
 // 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
@@ -61,7 +62,7 @@
 
   // bool, simple
   iterator_type os_it00 = oss.rdbuf();
-  iterator_type os_it01 = np.put(os_it00, oss, '+', b1);
+  np.put(os_it00, oss, '+', b1);
   result1 = oss.str();
   VERIFY( result1 == "1" );
 
Index: testsuite/22_locale/time_get/get_year/wchar_t/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_year/wchar_t/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_year/wchar_t/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009  Free Software Foundation
+// Copyright (C) 2006, 2009, 2010  Free Software Foundation
 //
 // 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
@@ -49,7 +49,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const wstring str0 = L"1";
-  iter_type end0 = tg.get_year(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_year(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_year == 0 );
 
Index: testsuite/22_locale/time_get/get_year/char/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_year/char/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_year/char/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009  Free Software Foundation
+// Copyright (C) 2006, 2009, 2010  Free Software Foundation
 //
 // 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
@@ -49,7 +49,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const string str0 = "1";
-  iter_type end0 = tg.get_year(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_year(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_year == 0 );
 
Index: testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -48,7 +48,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const wstring str0 = L"S";
-  iter_type end0 = tg.get_monthname(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_monthname(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_mon == 0 );
 
Index: testsuite/22_locale/time_get/get_monthname/char/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_monthname/char/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_monthname/char/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -48,7 +48,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const string str0 = "S";
-  iter_type end0 = tg.get_monthname(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_monthname(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_mon == 0 );
 
Index: testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -49,7 +49,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const wstring str0 = L"T";
-  iter_type end0 = tg.get_weekday(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_weekday(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm1.tm_wday == 0 );
 
Index: testsuite/22_locale/time_get/get_weekday/char/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_weekday/char/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_weekday/char/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -49,7 +49,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const string str0 = "T";
-  iter_type end0 = tg.get_weekday(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_weekday(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm1.tm_wday == 0 );
 
Index: testsuite/22_locale/time_get/get_date/wchar_t/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_date/wchar_t/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_date/wchar_t/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -48,7 +48,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const wstring str0 = L"1";
-  iter_type end0 = tg.get_date(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_date(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_year == 0 );
   VERIFY( tm0.tm_mon == 0 );
Index: testsuite/22_locale/time_get/get_date/char/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_date/char/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_date/char/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -48,7 +48,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const string str0 = "1";
-  iter_type end0 = tg.get_date(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_date(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_year == 0 );
   VERIFY( tm0.tm_mon == 0 );
Index: testsuite/22_locale/time_get/get_time/wchar_t/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_time/wchar_t/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_time/wchar_t/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -49,7 +49,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const wstring str0 = L"1";
-  iter_type end0 = tg.get_time(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_time(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_sec == 0 );
   VERIFY( tm0.tm_min == 0 );
Index: testsuite/22_locale/time_get/get_time/char/5.cc
===================================================================
--- testsuite/22_locale/time_get/get_time/char/5.cc	(revision 160388)
+++ testsuite/22_locale/time_get/get_time/char/5.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2006-06-16  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2006, 2009 Free Software Foundation
+// Copyright (C) 2006, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -49,7 +49,7 @@
   const time_get_type& tg = use_facet<time_get_type>(iss.getloc());
 
   const string str0 = "1";
-  iter_type end0 = tg.get_time(str0.begin(), str0.end(), iss, err, &tm0);
+  tg.get_time(str0.begin(), str0.end(), iss, err, &tm0);
   VERIFY( err == (failbit | eofbit) );
   VERIFY( tm0.tm_sec == 0 );
   VERIFY( tm0.tm_min == 0 );
Index: testsuite/22_locale/num_get/get/wchar_t/1.cc
===================================================================
--- testsuite/22_locale/num_get/get/wchar_t/1.cc	(revision 160388)
+++ testsuite/22_locale/num_get/get/wchar_t/1.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -63,7 +63,7 @@
   // bool, simple
   iss.str(L"1");
   iterator_type os_it00 = iss.rdbuf();
-  iterator_type os_it01 = ng.get(os_it00, 0, iss, err, b1);
+  ng.get(os_it00, 0, iss, err, b1);
   VERIFY( b1 == true );
   VERIFY( err & ios_base::eofbit );
 
Index: testsuite/22_locale/num_get/get/char/1.cc
===================================================================
--- testsuite/22_locale/num_get/get/char/1.cc	(revision 160388)
+++ testsuite/22_locale/num_get/get/char/1.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2001-11-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -63,7 +63,7 @@
   // bool, simple
   iss.str("1");
   iterator_type os_it00 = iss.rdbuf();
-  iterator_type os_it01 = ng.get(os_it00, 0, iss, err, b1);
+  ng.get(os_it00, 0, iss, err, b1);
   VERIFY( b1 == true );
   VERIFY( err & ios_base::eofbit );
 
Index: testsuite/22_locale/moneypunct/members/wchar_t/1.cc
===================================================================
--- testsuite/22_locale/moneypunct/members/wchar_t/1.cc	(revision 160388)
+++ testsuite/22_locale/moneypunct/members/wchar_t/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-08-23 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -59,6 +59,8 @@
   pattern neg1 = monp_c_t.neg_format();
   pattern pos2 = monp_c_f.pos_format();
   pattern neg2 = monp_c_f.neg_format();
+  neg1 = neg1;
+  neg2 = neg2;
 
   VERIFY( q1 == L'.' );
   VERIFY( q3 == L'.' );
Index: testsuite/22_locale/moneypunct/members/char/1.cc
===================================================================
--- testsuite/22_locale/moneypunct/members/char/1.cc	(revision 160388)
+++ testsuite/22_locale/moneypunct/members/char/1.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2001-08-23 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -59,6 +59,8 @@
   pattern neg1 = monp_c_t.neg_format();
   pattern pos2 = monp_c_f.pos_format();
   pattern neg2 = monp_c_f.neg_format();
+  neg1 = neg1;
+  neg2 = neg2;
 
   VERIFY( q1 == '.' );
   VERIFY( q3 == '.' );
Index: testsuite/22_locale/ctype_base/mask.cc
===================================================================
--- testsuite/22_locale/ctype_base/mask.cc	(revision 160388)
+++ testsuite/22_locale/ctype_base/mask.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-do compile }
 // 1999-08-24 bkoz
 
-// Copyright (C) 1999, 2000, 2003, 2009 Free Software Foundation
+// Copyright (C) 1999, 2000, 2003, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -43,6 +43,8 @@
   res = m01 | m02;
   res = m01 ^ m02;
   res = ~m01;
+  res = res; // Suppress unused warning.
+
   m01 &= m02;
   m01 |= m02;
   m01 ^= m02;
Index: testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/requirements/constants.cc
===================================================================
--- testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/requirements/constants.cc	(revision 160388)
+++ testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/requirements/constants.cc	(working copy)
@@ -2,7 +2,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -28,6 +28,7 @@
   const void* p = &swc.modulus;
   p = &swc.long_lag;
   p = &swc.short_lag;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/requirements/constants.cc
===================================================================
--- testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/requirements/constants.cc	(revision 160388)
+++ testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/requirements/constants.cc	(working copy)
@@ -2,7 +2,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -28,6 +28,7 @@
   const void* p = &swc_01.word_size;
   p = &swc_01.long_lag;
   p = &swc_01.short_lag;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/tr1/5_numerical_facilities/random/discard_block/requirements/constants.cc
===================================================================
--- testsuite/tr1/5_numerical_facilities/random/discard_block/requirements/constants.cc	(revision 160388)
+++ testsuite/tr1/5_numerical_facilities/random/discard_block/requirements/constants.cc	(working copy)
@@ -2,7 +2,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -27,6 +27,7 @@
 
   const void* p = &db.block_size;
   p = &db.used_block;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/tr1/5_numerical_facilities/random/linear_congruential/requirements/constants.cc
===================================================================
--- testsuite/tr1/5_numerical_facilities/random/linear_congruential/requirements/constants.cc	(revision 160388)
+++ testsuite/tr1/5_numerical_facilities/random/linear_congruential/requirements/constants.cc	(working copy)
@@ -2,7 +2,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -28,6 +28,7 @@
   const void* p = &lc.multiplier;
   p = &lc.increment;
   p = &lc.modulus;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/tr1/5_numerical_facilities/random/mersenne_twister/requirements/constants.cc
===================================================================
--- testsuite/tr1/5_numerical_facilities/random/mersenne_twister/requirements/constants.cc	(revision 160388)
+++ testsuite/tr1/5_numerical_facilities/random/mersenne_twister/requirements/constants.cc	(working copy)
@@ -2,7 +2,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -36,6 +36,7 @@
   p = &mt.output_t;
   p = &mt.output_c;
   p = &mt.output_l;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/tr1/5_numerical_facilities/random/xor_combine/requirements/constants.cc
===================================================================
--- testsuite/tr1/5_numerical_facilities/random/xor_combine/requirements/constants.cc	(revision 160388)
+++ testsuite/tr1/5_numerical_facilities/random/xor_combine/requirements/constants.cc	(working copy)
@@ -2,7 +2,7 @@
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -28,6 +28,7 @@
 
   const void* p = &xor_c.shift1;
   p = &xor_c.shift2;
+  p = p; // Suppress unused warning.
 }
 
 int main()
Index: testsuite/tr1/8_c_compatibility/cfenv/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cfenv/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cfenv/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-01-26  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -46,6 +46,7 @@
   ret = std::tr1::feholdexcept(penv);
   ret = std::tr1::fesetenv(penv);
   ret = std::tr1::feupdateenv(penv);
+  ret = ret; // Suppress unused warning.
 
 #endif
 }
Index: testsuite/tr1/8_c_compatibility/cinttypes/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cinttypes/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cinttypes/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2007, 2008, 2009, 2010 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
@@ -53,5 +53,9 @@
   uret = std::tr1::wcstoumax(ws, wendptr, base);
 #endif
 
+  ret = ret; // Suppress unused warnings.
+  dret = dret;
+  uret = uret;
+
 #endif
 }
Index: testsuite/tr1/8_c_compatibility/cstdlib/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cstdlib/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cstdlib/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -55,8 +55,16 @@
   ldret = std::tr1::strtold(s, endptr);
 
   ret = std::tr1::abs(i);
+
+  ret = ret; // Suppress unused warning.
+  uret = uret;
+  fret = fret;
+  ldret = ldret;
+
 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
   dret = std::tr1::div(numer, denom);
+
+  dret = dret;
 #endif
 
 #endif
Index: testsuite/tr1/8_c_compatibility/cstdio/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cstdio/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cstdio/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-02-05  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -46,6 +46,7 @@
   ret = std::tr1::vfscanf(stream, format, ap); 
   ret = std::tr1::vscanf(format, ap);
   ret = std::tr1::vsscanf(cs, format, ap);
+  ret = ret; // Suppress unused warning.
   
 #endif
 }
Index: testsuite/tr1/8_c_compatibility/cctype/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cctype/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cctype/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-01-25  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -29,6 +29,7 @@
 
   int ch = 0, ret;
   ret = std::tr1::isblank(ch);
+  ret = ret; // Suppress unused warning.
 
 #endif
 }
Index: testsuite/tr1/8_c_compatibility/cwchar/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cwchar/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cwchar/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-02-03  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -37,6 +37,8 @@
   wchar_t** endptr1 = 0;
   float fret;
   fret = std::tr1::wcstof(nptr1, endptr1);
+
+  fret = fret; // Suppress unused warning.
 #endif
 
 #if _GLIBCXX_HAVE_VFWSCANF
@@ -44,6 +46,8 @@
   const wchar_t* format1 = 0;
   int ret1;
   ret1 = std::tr1::vfwscanf(stream, format1, arg);
+
+  ret1 = ret1; // Suppress unused warning.
 #endif
 
 #if _GLIBCXX_HAVE_VSWSCANF
@@ -51,12 +55,16 @@
   const wchar_t* format2 = 0;
   int ret2;
   ret2 = std::tr1::vswscanf(s, format2, arg);
+
+  ret2 = ret2; // Suppress unused warning.
 #endif
 
 #if _GLIBCXX_HAVE_VWSCANF
   const wchar_t* format3 = 0;
   int ret3;
   ret3 = std::tr1::vwscanf(format3, arg);
+
+  ret3 = ret3; // Suppress unused warning.
 #endif
 
 #if _GLIBCXX_USE_C99
@@ -72,6 +80,10 @@
   llret = std::tr1::wcstoll(nptr2, endptr2, base);
   ullret = std::tr1::wcstoull(nptr2, endptr2, base);
 
+  ldret = ldret; // Suppress unused warnings.
+  llret = llret;
+  ullret = ullret;
+
 #endif
 }
 
Index: testsuite/tr1/8_c_compatibility/cmath/templates.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cmath/templates.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cmath/templates.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-02-26  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -37,6 +37,7 @@
     ret = std::tr1::signbit(x);
     
     iret = std::tr1::fpclassify(x);
+    iret = iret; // Suppress unused warning.
     
     ret = std::tr1::isfinite(x);
     ret = std::tr1::isinf(x);
@@ -49,6 +50,7 @@
     ret = std::tr1::islessequal(x, x);
     ret = std::tr1::islessgreater(x, x);
     ret = std::tr1::isunordered(x, x);
+    ret = ret; // Suppress unused warning.
   }
 
 void test01()
Index: testsuite/tr1/8_c_compatibility/cmath/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cmath/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cmath/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-02-07  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2007, 2008, 2009, 2010 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
@@ -181,6 +181,13 @@
   ret = std::tr1::trunc(d0);
   fret = std::tr1::truncf(f0);
   ldret = std::tr1::truncl(ld0);
+
+  ret = ret; // Suppress unused warnings.
+  iret = iret;
+  lret = lret;
+  llret = llret;
+  fret = fret;
+  ldret = ldret;
   
 #endif
 }
Index: testsuite/tr1/8_c_compatibility/cwctype/functions.cc
===================================================================
--- testsuite/tr1/8_c_compatibility/cwctype/functions.cc	(revision 160388)
+++ testsuite/tr1/8_c_compatibility/cwctype/functions.cc	(working copy)
@@ -2,7 +2,7 @@
 
 // 2006-02-03  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2006, 2009, 2010 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
@@ -32,6 +32,7 @@
   std::wint_t ch = 0;
   int ret;
   ret = std::tr1::iswblank(ch);
+  ret = ret; // Suppress unused warning.
 
 #endif
 }
Index: testsuite/tr1/6_containers/utility/pair.cc
===================================================================
--- testsuite/tr1/6_containers/utility/pair.cc	(revision 160388)
+++ testsuite/tr1/6_containers/utility/pair.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2004-09-23 Chris Jefferson <chris@bubblescope.net>
 
-// Copyright (C) 2004, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2009, 2010 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
@@ -36,8 +36,10 @@
   VERIFY(tuple_size<test_pair_type>::value == 2);
   // Test if tuple_element::type returns the correct type
   blank_class blank;
-  tuple_element<0, pair<blank_class, int> >::type blank2 = blank;
-  tuple_element<1, pair<int ,blank_class> >::type blank3 = blank;
+  tuple_element<0, pair<blank_class, int> >::type
+    blank2 __attribute__((unused)) = blank;
+  tuple_element<1, pair<int ,blank_class> >::type
+    blank3 __attribute__((unused)) = blank;
   pair<int,int> test_pair(1, 2);
   VERIFY(get<0>(test_pair) == 1);
   VERIFY(get<1>(test_pair) == 2);
Index: testsuite/29_atomics/atomic_address/cons/aggregate.cc
===================================================================
--- testsuite/29_atomics/atomic_address/cons/aggregate.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_address/cons/aggregate.cc	(working copy)
@@ -23,6 +23,6 @@
 
 int main()
 {
-  std::atomic_address a = { { NULL } };
+  std::atomic_address a __attribute__((unused)) = { { NULL } };
   return 0;
 }
Index: testsuite/29_atomics/atomic_integral/cons/assign_neg.cc
===================================================================
--- testsuite/29_atomics/atomic_integral/cons/assign_neg.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_integral/cons/assign_neg.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // { dg-do compile }
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 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
@@ -29,11 +29,11 @@
   return 0;
 }
 
-// { dg-error "used here" "" { target *-*-* } 521 }
+// { dg-error "used here" "" { target *-*-* } 522 }
 // { dg-excess-errors "deleted function" }
 // { dg-excess-errors "deleted function" }
 // { dg-error "instantiated from" "" { target *-*-* } 28 }
-// { dg-error "instantiated from" "" { target *-*-* } 528 }
+// { dg-error "instantiated from" "" { target *-*-* } 529 }
 // { dg-error "instantiated from" "" { target *-*-* } 170 }
 // { dg-error "instantiated from" "" { target *-*-* } 399 }
 // { dg-error "instantiated from" "" { target *-*-* } 168 }
Index: testsuite/29_atomics/atomic_integral/cons/copy_neg.cc
===================================================================
--- testsuite/29_atomics/atomic_integral/cons/copy_neg.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_integral/cons/copy_neg.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // { dg-do compile }
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 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
@@ -29,11 +29,11 @@
   return 0;
 }
 
-// { dg-error "used here" "" { target *-*-* } 560 }
+// { dg-error "used here" "" { target *-*-* } 561 }
 // { dg-excess-errors "deleted function" }
 // { dg-excess-errors "deleted function" }
 // { dg-error "instantiated from" "" { target *-*-* } 28 }
-// { dg-error "instantiated from" "" { target *-*-* } 566 }
+// { dg-error "instantiated from" "" { target *-*-* } 567 }
 // { dg-error "instantiated from" "" { target *-*-* } 170 }
 // { dg-error "instantiated from" "" { target *-*-* } 399 }
 // { dg-error "instantiated from" "" { target *-*-* } 168 }
Index: testsuite/29_atomics/atomic_integral/operators/increment_neg.cc
===================================================================
--- testsuite/29_atomics/atomic_integral/operators/increment_neg.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_integral/operators/increment_neg.cc	(working copy)
@@ -2,7 +2,7 @@
 // { dg-do compile }
 // -*- C++ -*-
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -28,7 +28,7 @@
   return 0;
 }
 
-// { dg-error "operator" "" { target *-*-* } 353 }
 // { dg-error "operator" "" { target *-*-* } 354 }
 // { dg-error "operator" "" { target *-*-* } 355 }
+// { dg-error "operator" "" { target *-*-* } 356 }
 // { dg-excess-errors "In file included from" }
Index: testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc
===================================================================
--- testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc	(working copy)
@@ -2,7 +2,7 @@
 // { dg-do compile }
 // -*- C++ -*-
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -27,7 +27,7 @@
   return 0;
 }
 
-// { dg-error "operator" "" { target *-*-* } 404 }
 // { dg-error "operator" "" { target *-*-* } 405 }
 // { dg-error "operator" "" { target *-*-* } 406 }
+// { dg-error "operator" "" { target *-*-* } 407 }
 // { dg-excess-errors "In file included from" }
Index: testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc
===================================================================
--- testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc	(working copy)
@@ -2,7 +2,7 @@
 // { dg-do compile }
 // -*- C++ -*-
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -28,7 +28,7 @@
   return 0;
 }
 
-// { dg-error "operator" "" { target *-*-* } 375 }
 // { dg-error "operator" "" { target *-*-* } 376 }
 // { dg-error "operator" "" { target *-*-* } 377 }
+// { dg-error "operator" "" { target *-*-* } 378 }
 // { dg-excess-errors "In file included from" }
Index: testsuite/29_atomics/atomic_flag/cons/1.cc
===================================================================
--- testsuite/29_atomics/atomic_flag/cons/1.cc	(revision 160388)
+++ testsuite/29_atomics/atomic_flag/cons/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // { dg-do compile }
 
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010 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
@@ -23,5 +23,5 @@
 void test01()
 {
   using namespace std;
-  atomic_flag af = ATOMIC_FLAG_INIT;
+  atomic_flag af __attribute__((unused)) = ATOMIC_FLAG_INIT;
 }
Index: testsuite/29_atomics/atomic/cons/assign_neg.cc
===================================================================
--- testsuite/29_atomics/atomic/cons/assign_neg.cc	(revision 160410)
+++ testsuite/29_atomics/atomic/cons/assign_neg.cc	(working copy)
@@ -28,7 +28,7 @@
   return 0;
 }
 
-// { dg-error "used here" "" { target *-*-* } 521 }
+// { dg-error "used here" "" { target *-*-* } 522 }
 // { dg-error "deleted function" "" { target *-*-* } 230 }
 // { dg-error "deleted function" "" { target *-*-* } 248 }
 // { dg-error "deleted function" "" { target *-*-* } 266 }
Index: testsuite/29_atomics/atomic/cons/copy_neg.cc
===================================================================
--- testsuite/29_atomics/atomic/cons/copy_neg.cc	(revision 160410)
+++ testsuite/29_atomics/atomic/cons/copy_neg.cc	(working copy)
@@ -28,7 +28,7 @@
   return 0;
 }
 
-// { dg-error "used here" "" { target *-*-* } 560 }
+// { dg-error "used here" "" { target *-*-* } 561 }
 // { dg-error "deleted function" "" { target *-*-* } 229 }
 // { dg-error "deleted function" "" { target *-*-* } 247 }
 // { dg-error "deleted function" "" { target *-*-* } 265 }
Index: testsuite/23_containers/priority_queue/members/7161.cc
===================================================================
--- testsuite/23_containers/priority_queue/members/7161.cc	(revision 160388)
+++ testsuite/23_containers/priority_queue/members/7161.cc	(working copy)
@@ -1,6 +1,6 @@
 // 2002-06-28 pme
 
-// Copyright (C) 2002, 2004, 2005, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2002, 2004, 2005, 2009, 2010 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
@@ -28,12 +28,10 @@
 {
   int data[] = {1, 2, 3};
   std::priority_queue<int> pq;
-  std::size_t size = pq.size();
 
   for (int i = 0; i < 3; ++i)
     pq.push(data[i]);
 
-  size = pq.size();
   pq.top();
   for (int i = 0; i < 2; ++i)
     pq.pop();
Index: testsuite/23_containers/set/dr130.cc
===================================================================
--- testsuite/23_containers/set/dr130.cc	(revision 160388)
+++ testsuite/23_containers/set/dr130.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // 2008-07-22  Edward Smith-Rowland  <3dw4rd@verizon.net>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -33,7 +33,7 @@
   typedef set<int>::const_iterator const_iterator;
   typedef pair<iterator, bool> insert_return_type;
 
-  insert_return_type irt0 = s0.insert(1);
+  s0.insert(1);
   insert_return_type irt1 = s0.insert(2);
   insert_return_type irt2 = s0.insert(3);
 
@@ -56,7 +56,7 @@
   typedef pair<iterator, bool> insert_return_type;
 
   insert_return_type irt0 = s0.insert(1);
-  insert_return_type irt1 = s0.insert(2);
+  s0.insert(2);
   insert_return_type irt2 = s0.insert(3);
   insert_return_type irt3 = s0.insert(4);
 
Index: testsuite/23_containers/list/pthread5.cc
===================================================================
--- testsuite/23_containers/list/pthread5.cc	(revision 160388)
+++ testsuite/23_containers/list/pthread5.cc	(working copy)
@@ -2,7 +2,7 @@
 // Adpated from libstdc++/5464 submitted by jjessel@amadeus.net
 // Jean-Francois JESSEL (Amadeus SAS Development) 
 //
-// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -99,7 +99,7 @@
 #endif
 
   pthread_attr_t tattr;
-  int ret = pthread_attr_init (&tattr);
+  int ret __attribute__((unused)) = pthread_attr_init (&tattr);
 #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
   ret = pthread_attr_setscope(&tattr, PTHREAD_SCOPE_SYSTEM);
 #endif
Index: testsuite/23_containers/map/dr130.cc
===================================================================
--- testsuite/23_containers/map/dr130.cc	(revision 160388)
+++ testsuite/23_containers/map/dr130.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // 2008-07-22  Edward Smith-Rowland  <3dw4rd@verizon.net>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 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
@@ -34,7 +34,7 @@
   typedef map<int, int>::value_type value_type;
   typedef pair<iterator, bool> insert_return_type;
 
-  insert_return_type irt0 = m0.insert(value_type(1, 1));
+  m0.insert(value_type(1, 1));
   insert_return_type irt1 = m0.insert(value_type(2, 2));
   insert_return_type irt2 = m0.insert(value_type(3, 3));
 
@@ -58,7 +58,7 @@
   typedef pair<iterator, bool> insert_return_type;
 
   insert_return_type irt0 = m0.insert(value_type(1, 1));
-  insert_return_type irt1 = m0.insert(value_type(2, 2));
+  m0.insert(value_type(2, 2));
   insert_return_type irt2 = m0.insert(value_type(3, 3));
   insert_return_type irt3 = m0.insert(value_type(4, 4));
 
Index: testsuite/util/exception/safety.h
===================================================================
--- testsuite/util/exception/safety.h	(revision 160388)
+++ testsuite/util/exception/safety.h	(working copy)
@@ -1012,7 +1012,6 @@
 	_M_functions.push_back(function_type(base_type::_M_clear));
 
 	// Run tests.
-	auto i = _M_functions.begin();
 	for (auto i = _M_functions.begin(); i != _M_functions.end(); ++i)
 	  {
 	    function_type& f = *i;
@@ -1163,7 +1162,6 @@
 	_M_functions.push_back(function_type(base_type::_M_rehash));
 
 	// Run tests.
-	auto i = _M_functions.begin();
 	for (auto i = _M_functions.begin(); i != _M_functions.end(); ++i)
 	  {
 	    function_type& f = *i;
Index: testsuite/util/testsuite_common_types.h
===================================================================
--- testsuite/util/testsuite_common_types.h	(revision 160388)
+++ testsuite/util/testsuite_common_types.h	(working copy)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
 // typelist for the C++ library testsuite. 
 //
-// Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
+// 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
@@ -622,7 +623,7 @@
 	struct _Concept
 	{
 	  void __constraint()
-	  { _Ttype __v = {__a}; }
+	  { _Ttype __v __attribute__((unused)) = {__a}; }
 	  
 	  _Tvalue __a;
 	};
Index: testsuite/20_util/clocks/1.cc
===================================================================
--- testsuite/20_util/clocks/1.cc	(revision 160388)
+++ testsuite/20_util/clocks/1.cc	(working copy)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // { dg-require-cstdint "" }
 
-// Copyright (C) 2008, 2009 Free Software Foundation
+// Copyright (C) 2008, 2009, 2010 Free Software Foundation
 //
 // 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
@@ -33,6 +33,7 @@
   is_monotonic = is_monotonic; // suppress unused warning
   std::time_t t2 = system_clock::to_time_t(t1);
   system_clock::time_point t3 = system_clock::from_time_t(t2);
+  t3 = t3; // suppress unused warning
   
   return 0;
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-06-22 22:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 22:01 [v3] Avoid -Wall warnings in the testsuite Paolo Carlini
2011-06-22 22:06 ` Paolo Carlini
2011-06-22 22:16   ` Andrew Pinski
2011-06-22 22:25     ` Paolo Carlini
2011-06-22 22:56 ` Jonathan Wakely
2011-06-22 23:03   ` Jonathan Wakely
  -- strict thread matches above, loose matches on Subject: below --
2010-06-08  0:48 Paolo Carlini
2010-06-08  6:07 ` Jakub Jelinek
2010-06-08  8:00   ` Paolo Carlini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).