OSDN Git Service

* doc/invoke.texi (C++ Dialect Options): Document ABI v5.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Mar 2011 00:45:16 +0000 (00:45 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Mar 2011 00:45:16 +0000 (00:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170712 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle39.C
gcc/testsuite/g++.dg/abi/mangle45.C
gcc/testsuite/g++.dg/cpp0x/trailing1.C

index 0730e83..4a41846 100644 (file)
@@ -1,3 +1,7 @@
+2011-03-05  Jason Merrill  <jason@redhat.com>
+
+       * doc/invoke.texi (C++ Dialect Options): Document ABI v5.
+
 2011-03-05  Anthony Green  <green@moxielogic.com>
 
        * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile.
index e642c39..6c4d633 100644 (file)
@@ -1846,6 +1846,10 @@ template argument.
 
 Version 4 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.
+
 See also @option{-Wabi}.
 
 @item -fno-access-control
index 40a5800..7a5cc2c 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-05  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/abi/mangle39.C: ABI v5, not 6.
+       * g++.dg/abi/mangle45.C: Likewise.
+       * g++.dg/cpp0x/trailing1.C: Likewise.
+
 2011-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*.
index 7b2ee01..2896356 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/42338
-// { dg-options "-std=c++0x -fabi-version=6" }
+// { dg-options "-std=c++0x -fabi-version=5" }
 // { dg-final { scan-assembler "_Z1fIPiEDTcmppfp_Li0EET_" } }
 // { dg-final { scan-assembler "_Z1gIiEvRK1AIT_EDTixfL0p_Li0EE" } }
 
index a4df773..3ce9abc 100644 (file)
@@ -1,5 +1,5 @@
 // Testcase for mangling of parameters used other than in a trailing return type
-// { dg-options "-std=c++0x -fabi-version=6" }
+// { dg-options "-std=c++0x -fabi-version=5" }
 
 template<class T> void f(T p, decltype(p)) { }                // L = 1
 template<class T> void g(T p, decltype(p) (*)()) { }          // L = 1
index b36d1aa..f637857 100644 (file)
@@ -1,5 +1,5 @@
 // Tests for late-specified return type.
-// { dg-options "-std=c++0x -fabi-version=6" }
+// { dg-options "-std=c++0x -fabi-version=5" }
 
 auto f() -> int
 {