public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] libstdc++/52887 - fix AIX bootstrap
@ 2013-01-17  1:40 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2013-01-17  1:40 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

Add required instantiations for AIX.

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

Committed to the 4.7 branch only.

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1053 bytes --]

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 --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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-17  1:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17  1:40 [patch] libstdc++/52887 - fix AIX bootstrap Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).