Patchwork C++/libiberty PATCH for many mangling fixes (6057, 48051, 50855, 51322 and more)

login
register
mail settings
Submitter Jason Merrill
Date Jan. 10, 2012, 2:31 p.m.
Message ID <4F0C4BB7.1090009@redhat.com>
Download mbox | patch
Permalink /patch/135245/
State New
Headers show

Comments

Jason Merrill - Jan. 10, 2012, 2:31 p.m.
bkoz pointed out that I forgot to update invoke.texi about 
-fabi-version=6.  Applying to trunk

Patch

commit f94b7ea86ad3146e81a46a141ac23b10048b7fbf
Author: Jason Merrill <jason@redhat.com>
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}.