From patchwork Thu Jan 17 01:39:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 213119 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id CBF632C0094 for ; Thu, 17 Jan 2013 12:40:41 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358991642; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=TWtron/ E3Eg6nzknSSO4szi+vfs=; b=dQ1ZS+5eP9eXGVaCa01u/OIaGLKeltPJCj9pzav +/1fgOjQgkNvDxOyRPwaznaNRSImpUKw9GszwUtsKD1ipmE27EOkJf3spJ0Nfxi/ eTW933V9lEHq6j4aA/dGkyYi8HyUaRqC/txLVv27fx/bwBYYEca0Oen2VQLJ9iLA TcCw= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:X-Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=NRPM1qCHLUPrUhDJugum/Ph9ZwbKHDPWMSw9wlBkWi89Taid4/gFYmzMDOxP/b JV7WBEmlRVVHb1wWjqw13hVOAO6T5I+4dHNztSmWy7XBeTJjVJKdZEq75Zd39YqL 5+eBlYB0bOLT9pDN2Y+NIEJCP3AJgOkp+WVWDvSalhDXQ=; Received: (qmail 26492 invoked by alias); 17 Jan 2013 01:40:07 -0000 Received: (qmail 26475 invoked by uid 22791); 17 Jan 2013 01:40:06 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ie0-f171.google.com (HELO mail-ie0-f171.google.com) (209.85.223.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Jan 2013 01:40:00 +0000 Received: by mail-ie0-f171.google.com with SMTP id 9so44649iec.2 for ; Wed, 16 Jan 2013 17:40:00 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.33.178 with SMTP id s18mr2346012igi.100.1358386800030; Wed, 16 Jan 2013 17:40:00 -0800 (PST) Received: by 10.64.96.227 with HTTP; Wed, 16 Jan 2013 17:39:59 -0800 (PST) Date: Thu, 17 Jan 2013 01:39:59 +0000 Message-ID: Subject: [patch] libstdc++/52887 - fix AIX bootstrap From: Jonathan Wakely To: "libstdc++" , gcc-patches Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 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; + template class function; +#endif + _GLIBCXX_END_NAMESPACE_VERSION } // namespace std