re PR c++/47906 (r170459 regresses g++.dg/abi/mangle39.C on *-apple-darwin*)

PR c++/47906
	* g++.dg/abi/mangle39.C: Specify -fabi-version=6.
	* g++.dg/abi/mangle45.C: Specify -fabi-version=6.

From-SVN: r170543
This commit is contained in:
Jason Merrill 2011-02-27 09:39:15 -05:00 committed by Jason Merrill
parent 1883b0fbd4
commit 1d944f61ad
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-02-27 Jason Merrill <jason@redhat.com>
PR c++/47906
* g++.dg/abi/mangle39.C: Specify -fabi-version=6.
* g++.dg/abi/mangle45.C: Specify -fabi-version=6.
2011-02-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46466

View File

@ -1,5 +1,5 @@
// PR c++/42338
// { dg-options "-std=c++0x" }
// { dg-options "-std=c++0x -fabi-version=6" }
// { dg-final { scan-assembler "_Z1fIPiEDTcmppfp_Li0EET_" } }
// { dg-final { scan-assembler "_Z1gIiEvRK1AIT_EDTixfL0p_Li0EE" } }

View File

@ -1,5 +1,5 @@
// Testcase for mangling of parameters used other than in a trailing return type
// { dg-options -std=c++0x }
// { dg-options "-std=c++0x -fabi-version=6" }
template<class T> void f(T p, decltype(p)) { } // L = 1
template<class T> void g(T p, decltype(p) (*)()) { } // L = 1