Commit e21b716e authored by jason's avatar jason
Browse files

* 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
parent 87d553db
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.
......
......@@ -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
......
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*.
......
// 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" } }
......
// 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
......
// 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
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment