From patchwork Mon Jun 24 13:48:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 253839 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id DB4E92C0082 for ; Mon, 24 Jun 2013 23:48:52 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=SjbOKrpc5v2f+LFrwKW2HNmYQMgvVALyN1GkKgYTJJ4 r+J8z7EaC3OcGuKBuOruDNpV9A5IUHeMKb8iMwq2WFZqwFFd26o16yW+sYuDu3K6 RSgK5YAPF3Fv80+f6mvSnbvNk5pNjZ69uSiZOzhTb9QS0iCftZc4HRzCt7KTXUrw = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=UqucMMaQmgMp2KELEoK27YYITuA=; b=p5LPE0bsTy1mJDX00 f7bcXyTqQcMcSdtaITVxiKCIN3b34Y0rpmyTlUyzZxzQuZVdRigS39jG2t5S1zPr dBv0Ckf+yZZ8c4KajS0Sxu7DpEfFJENr2Kk7wvN8pt5MDGgO9+0SafvfKLd9q9E0 tzGRvcTedt4HqwzVPsP5dmWFIk= Received: (qmail 5830 invoked by alias); 24 Jun 2013 13:48:45 -0000 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 Received: (qmail 5812 invoked by uid 89); 24 Jun 2013 13:48:45 -0000 X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 24 Jun 2013 13:48:44 +0000 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5ODmffp003629 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Jun 2013 13:48:42 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5ODmeN5022835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Jun 2013 13:48:41 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5ODmeKd009876; Mon, 24 Jun 2013 13:48:40 GMT Received: from poldo4.casa (/79.36.29.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Jun 2013 06:48:40 -0700 Message-ID: <51C84E36.6060704@oracle.com> Date: Mon, 24 Jun 2013 15:48:38 +0200 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [v3] libstdc++/57691 X-Virus-Found: No Hi, see audit trail for details. Committed to mainline. Thanks, Paolo. ////////////////////// 2013-06-24 Bernd Edlinger PR libstdc++/57691 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED, declare per the letter of the C++ standard in terms of void. * include/c_std/cstdlib: Likewise. Index: include/c_global/cstdlib =================================================================== --- include/c_global/cstdlib (revision 200352) +++ include/c_global/cstdlib (working copy) @@ -55,11 +55,11 @@ namespace std { extern "C" void abort(void) throw () _GLIBCXX_NORETURN; - extern "C" int atexit(void (*)()) throw (); + extern "C" int atexit(void (*)(void)) throw (); extern "C" void exit(int) throw () _GLIBCXX_NORETURN; #if __cplusplus >= 201103L # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT - extern "C" int at_quick_exit(void (*)()) throw (); + extern "C" int at_quick_exit(void (*)(void)) throw (); # endif # ifdef _GLIBCXX_HAVE_QUICK_EXIT extern "C" void quick_exit(int) throw() _GLIBCXX_NORETURN; Index: include/c_std/cstdlib =================================================================== --- include/c_std/cstdlib (revision 200352) +++ include/c_std/cstdlib (working copy) @@ -55,11 +55,11 @@ namespace std { extern "C" void abort(void) throw () _GLIBCXX_NORETURN; - extern "C" int atexit(void (*)()) throw (); + extern "C" int atexit(void (*)(void)) throw (); extern "C" void exit(int) throw () _GLIBCXX_NORETURN; #if __cplusplus >= 201103L # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT - extern "C" int at_quick_exit(void (*)()) throw (); + extern "C" int at_quick_exit(void (*)(void)) throw (); # endif # ifdef _GLIBCXX_HAVE_QUICK_EXIT extern "C" void quick_exit(int) throw() _GLIBCXX_NORETURN;