From patchwork Tue Jan 10 14:31:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Merrill X-Patchwork-Id: 135245 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 70567B6FA7 for ; Wed, 11 Jan 2012 01:31:42 +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=1326810703; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC: Subject:References:In-Reply-To:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=hUDHUN/BKZJ9kILBOuMZyRxnX/w=; b=fAcIdFV/OXTmhFK2LOhrPjLl/GIhTGq8kn3jtH5XUdLqW+lmwWVbAYlT56qpK7 2DRIIod09bziBodB+5+TVcqL6bQsbojwkRHL/n3s4Y4o8VLyUgjsgObA2TNbElCE ebeJ5VPH714/dbCK2Wr86joPCm6c2tzAVRp8pfVK8hpPw= 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:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=pv6Oegl6vW8cBw8GjyxSlRvvfYqvPEX60wnZdNILNJ3zERRpQJ9vRw8q1Vhu3x B2CpZH7h3tLE8o2eUHNx3OIMo1YQB7lgN98AlOZihJcKTDcFVg56eTARcAmsBJ1Y YJmTT0cpuWc9nrg1/cwN8yH89uE4DtkM3NYh9/VSgKQU8=; Received: (qmail 30833 invoked by alias); 10 Jan 2012 14:31:39 -0000 Received: (qmail 30822 invoked by uid 22791); 10 Jan 2012 14:31:38 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Jan 2012 14:31:23 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0AEVLVn000999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 10 Jan 2012 09:31:22 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q0AEVLDK028184; Tue, 10 Jan 2012 09:31:21 -0500 Received: from [0.0.0.0] (ovpn-113-101.phx2.redhat.com [10.3.113.101]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q0AEVKIv013624; Tue, 10 Jan 2012 09:31:20 -0500 Message-ID: <4F0C4BB7.1090009@redhat.com> Date: Tue, 10 Jan 2012 09:31:19 -0500 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: gcc-patches List CC: Benjamin Kosnik Subject: Re: C++/libiberty PATCH for many mangling fixes (6057, 48051, 50855, 51322 and more) References: <4F0769D4.2070802@redhat.com> In-Reply-To: <4F0769D4.2070802@redhat.com> 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 bkoz pointed out that I forgot to update invoke.texi about -fabi-version=6. Applying to trunk commit f94b7ea86ad3146e81a46a141ac23b10048b7fbf Author: Jason Merrill Date: Mon Jan 9 23:03:15 2012 -0500 * doc/invoke.texi (C++ Dialect Options): Update -fabi-version=6 information. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a13ddfa..c0812fb 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1891,13 +1891,18 @@ The default is version 2. Version 3 corrects an error in mangling a constant address as a template argument. -Version 4 implements a standard mangling for vector types. +Version 4, which first appeared in G++ 4.5, implements a standard +mangling for vector types. -Version 5 corrects the mangling of attribute const/volatile on -function pointer types, decltype of a plain decl, and use of a -function parameter in the declaration of another parameter. +Version 5, which first appeared in G++ 4.6, corrects the mangling of +attribute const/volatile on function pointer types, decltype of a +plain decl, and use of a function parameter in the declaration of +another parameter. -Version 6 corrects the promotion behavior of C++11 scoped enums. +Version 6, which first appeared in G++ 4.7, corrects the promotion +behavior of C++11 scoped enums and the mangling of template argument +packs, const/static_cast, prefix ++ and --, and a class scope function +used as a template argument. See also @option{-Wabi}.