You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Liviu Nicoara <ni...@hates.ms> on 2012/09/01 16:49:15 UTC

[PATCH] Trivial test fix

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  <ni...@hates.ms>

	* 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);

Re: [PATCH] Trivial test fix

Posted by Stefan Teleman <st...@gmail.com>.
On Sat, Sep 1, 2012 at 10:49 AM, Liviu Nicoara <ni...@hates.ms> 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  <ni...@hates.ms>
>
>         * 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.teleman@gmail.com