From 1d944f61adf5fa7f5744d0ec269e02f55b79921f Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sun, 27 Feb 2011 09:39:15 -0500 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/abi/mangle39.C | 2 +- gcc/testsuite/g++.dg/abi/mangle45.C | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f670f3826ff..91994091bc5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-02-27 Jason Merrill + + 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 PR c++/46466 diff --git a/gcc/testsuite/g++.dg/abi/mangle39.C b/gcc/testsuite/g++.dg/abi/mangle39.C index 272385b6de0..7b2ee01262d 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" } +// { dg-options "-std=c++0x -fabi-version=6" } // { 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 8e20831f116..a4df773fbe5 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 } +// { dg-options "-std=c++0x -fabi-version=6" } template void f(T p, decltype(p)) { } // L = 1 template void g(T p, decltype(p) (*)()) { } // L = 1