From 2caa135a200c99e3ca57defea727b1f7855bc256 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely <jwakely.gcc@gmail.com>
Date: Mon, 6 Feb 2012 20:51:52 +0000
Subject: [PATCH] re PR libstdc++/52128 (r183788 caused massive libstdc++
 testsuite regression on i686-linux)

	PR libstdc++/52128
	* src/c++11/future.cc: Add explicit instantiation.

From-SVN: r183942
---
 libstdc++-v3/ChangeLog           | 5 +++++
 libstdc++-v3/src/c++11/future.cc | 1 +
 2 files changed, 6 insertions(+)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 95a9a181935f..434fd9868324 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+	PR libstdc++/52128
+	* src/c++11/future.cc: Add explicit instantiation.
+
 2012-02-06  François Dumont  <fdumont@gcc.gnu.org>
 
 	* include/debug/safe_iterator.h
diff --git a/libstdc++-v3/src/c++11/future.cc b/libstdc++-v3/src/c++11/future.cc
index 61a9729a1336..a4881397523f 100644
--- a/libstdc++-v3/src/c++11/future.cc
+++ b/libstdc++-v3/src/c++11/future.cc
@@ -90,6 +90,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   // Explicit instantiation due to -fno-implicit-instantiation.
   template void call_once(once_flag&, void (thread::*&&)(), reference_wrapper<thread>&&);
+  template _Bind_simple_helper<void (thread::*)(), reference_wrapper<thread>>::__type __bind_simple(void (thread::*&&)(), reference_wrapper<thread>&&);
 #endif
 #endif
 
-- 
GitLab