Re: [PATCH] Trivial test fix

2012-09-01 Thread Stefan Teleman
On Sat, Sep 1, 2012 at 10:49 AM, Liviu Nicoara  wrote:
> Would someone please apply the patch on 4.2.x branch? (I have not yet
> regained access to my Apache account.)
>
>
> 2012-09-01  Liviu Nicoara  
>
> * tests/containers/23.bitset.cpp: swapped lines to avoid compiler
> bug
> (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54442)
>
>
> Index: tests/containers/23.bitset.cpp
> ===
> --- tests/containers/23.bitset.cpp  (revision 1379762)
> +++ tests/containers/23.bitset.cpp  (working copy)
> @@ -278,8 +278,8 @@ test_synopsis (std::bitset<0>*)
>  MEMFUN (Bitset&, flip, ());
>  MEMFUN (Bitset&, flip, (std::size_t));
>  -MEMFUN (Bitset::reference, operator[], (std::size_t));
>  MEMFUN (bool, operator[], (std::size_t) const);
> +MEMFUN (Bitset::reference, operator[], (std::size_t));
>   MEMFUN (unsigned long, to_ulong, () const);

Done - revision 1379813.

--Stefan

-- 
Stefan Teleman
KDE e.V.
stefan.tele...@gmail.com


[PATCH] Trivial test fix

2012-09-01 Thread Liviu Nicoara

Would someone please apply the patch on 4.2.x branch? (I have not yet regained 
access to my Apache account.)


2012-09-01  Liviu Nicoara  

* tests/containers/23.bitset.cpp: swapped lines to avoid compiler bug
(see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54442)


Index: tests/containers/23.bitset.cpp
===
--- tests/containers/23.bitset.cpp  (revision 1379762)
+++ tests/containers/23.bitset.cpp  (working copy)
@@ -278,8 +278,8 @@ test_synopsis (std::bitset<0>*)
 MEMFUN (Bitset&, flip, ());
 MEMFUN (Bitset&, flip, (std::size_t));
 
-MEMFUN (Bitset::reference, operator[], (std::size_t));

 MEMFUN (bool, operator[], (std::size_t) const);
+MEMFUN (Bitset::reference, operator[], (std::size_t));
 
 MEMFUN (unsigned long, to_ulong, () const);