This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ testsuite make targets check-parallel and check-performance don't work anymore


On 04/11/14 03:41 +0000, Jonathan Wakely wrote:
On 03/11/14 22:07 +0000, Jonathan Wakely wrote:
On 3 November 2014 17:51, Paolo Carlini <paolo.carlini@oracle.com> wrote:
.. other than the above issue, I see a segmentation fault for:

   performance/ext/pb_ds/multimap_text_insert_mem_large.cc

Fixed like so.


commit 75a3f132da320a76baf7e82f4f850cdfce239a2e
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Nov 4 04:33:32 2014 +0000

    	* testsuite/util/testsuite_allocator.h (operator==): Fix recursion.

diff --git a/libstdc++-v3/testsuite/util/testsuite_allocator.h b/libstdc++-v3/testsuite/util/testsuite_allocator.h
index 8edc0a5..dec8d1a 100644
--- a/libstdc++-v3/testsuite/util/testsuite_allocator.h
+++ b/libstdc++-v3/testsuite/util/testsuite_allocator.h
@@ -209,7 +209,7 @@ namespace __gnu_test
     {
       const Alloc1& alloc1 = lhs;
       const Alloc2& alloc2 = rhs;
-      return lhs == rhs;
+      return alloc1 == alloc2;
     }
 
   template<class T1, class Alloc1, class T2, class Alloc2>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]