From: jason Date: Sun, 6 Mar 2011 00:45:16 +0000 (+0000) Subject: * doc/invoke.texi (C++ Dialect Options): Document ABI v5. X-Git-Tag: upstream/4.9.2~22444 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e21b716e3d4a914d3280cb6726c2820655850437;p=platform%2Fupstream%2Flinaro-gcc.git * doc/invoke.texi (C++ Dialect Options): Document ABI v5. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170712 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0730e83..4a41846 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-03-05 Jason Merrill + + * doc/invoke.texi (C++ Dialect Options): Document ABI v5. + 2011-03-05 Anthony Green * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e642c39..6c4d633 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 40a5800..7a5cc2c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-03-05 Jason Merrill + + * 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 * gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*. diff --git a/gcc/testsuite/g++.dg/abi/mangle39.C b/gcc/testsuite/g++.dg/abi/mangle39.C index 7b2ee01..2896356 100644 --- a/gcc/testsuite/g++.dg/abi/mangle39.C +++ b/gcc/testsuite/g++.dg/abi/mangle39.C @@ -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" } } diff --git a/gcc/testsuite/g++.dg/abi/mangle45.C b/gcc/testsuite/g++.dg/abi/mangle45.C index a4df773..3ce9abc 100644 --- a/gcc/testsuite/g++.dg/abi/mangle45.C +++ b/gcc/testsuite/g++.dg/abi/mangle45.C @@ -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 void f(T p, decltype(p)) { } // L = 1 template void g(T p, decltype(p) (*)()) { } // L = 1 diff --git a/gcc/testsuite/g++.dg/cpp0x/trailing1.C b/gcc/testsuite/g++.dg/cpp0x/trailing1.C index b36d1aa..f637857 100644 --- a/gcc/testsuite/g++.dg/cpp0x/trailing1.C +++ b/gcc/testsuite/g++.dg/cpp0x/trailing1.C @@ -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 {