diff mbox

libstdc++/52887 - fix AIX bootstrap

Message ID CAH6eHdQ7KQGAd-Jee9ueet-HE8Rn5VB5etvDf8N4Gk3WoR0kEw@mail.gmail.com
State New
Headers show

Commit Message

Jonathan Wakely Jan. 17, 2013, 1:39 a.m. UTC
Add required instantiations for AIX.

        PR libstdc++/52887
        * src/c++11/regex.cc: Add instantiations for AIX.

Committed to the 4.7 branch only.
commit df31b423330bab88fee84c8f32376dce7ca9242b
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Thu Jan 17 01:36:42 2013 +0000

    	PR libstdc++/52887
    	* src/c++11/regex.cc: Add instantiations for AIX.
diff mbox

Patch

diff --git a/libstdc++-v3/src/c++11/regex.cc b/libstdc++-v3/src/c++11/regex.cc
index 8a47da3..d21f221 100644
--- a/libstdc++-v3/src/c++11/regex.cc
+++ b/libstdc++-v3/src/c++11/regex.cc
@@ -1,6 +1,6 @@ 
 // regex -*- C++ -*-
 
-// Copyright (C) 2011 Free Software Foundation, Inc.
+// Copyright (C) 2011-2013 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,5 +34,12 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   regex_error::~regex_error() throw() { }
 
+#ifdef _AIX
+  // PR libstdc++/52887
+  template class function<void (__regex::_PatternCursor const&,
+				__regex::_Results&)>;
+  template class function<bool (__regex::_PatternCursor const&)>;
+#endif
+
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace std