Patchwork xfail g++.old-deja/g++.pt/ptrmem6.C for aarch64

login
register
mail settings
Submitter Marcus Shawcroft
Date Feb. 27, 2013, 4:47 p.m.
Message ID <512E38AC.6020708@arm.com>
Download mbox | patch
Permalink /patch/223651/
State New
Headers show

Comments

Marcus Shawcroft - Feb. 27, 2013, 4:47 p.m.
This aarch64 FAIL is known to be an issue on targets that define
TARGET_PTRMEMFUNC_VBIT_LOCATION to ptrmemfunc_vbit_in_delta

The issue was silenced early 2012 on arm and mips with an xfail, this
patch adds aarch64 to the list.

The relevant upstream thread around the xfail for arm and mips is here:

http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01046.html

OK?

/Marcus

2013-02-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * g++.old-deja/g++.pt/ptrmem6.C(main): Add xfail aarch64*-*-*.
Janis Johnson - Feb. 27, 2013, 7:04 p.m.
On 02/27/2013 08:47 AM, Marcus Shawcroft wrote:
> This aarch64 FAIL is known to be an issue on targets that define
> TARGET_PTRMEMFUNC_VBIT_LOCATION to ptrmemfunc_vbit_in_delta
> 
> The issue was silenced early 2012 on arm and mips with an xfail, this
> patch adds aarch64 to the list.
> 
> The relevant upstream thread around the xfail for arm and mips is here:
> 
> http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01046.html
> 
> OK?
> 
> /Marcus
> 
> 2013-02-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
> 
>         * g++.old-deja/g++.pt/ptrmem6.C(main): Add xfail aarch64*-*-*.
> 

OK.

Janis

Patch

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem6.C b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem6.C
index a4be012..9a53713 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/ptrmem6.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/ptrmem6.C
@@ -25,7 +25,7 @@  int main() {
   h<&B::j>(); // { dg-error "" } 
   g<(void (A::*)()) &A::f>(); // { dg-error "" "" { xfail c++11 } }
   h<(int A::*) &A::i>(); // { dg-error "" "" { xfail c++11 } }
-  g<(void (A::*)()) &B::f>(); // { dg-error "" "" { xfail { c++11 && { arm*-*-* mips*-*-* } } } }
+  g<(void (A::*)()) &B::f>(); // { dg-error "" "" { xfail { c++11 && { aarch64*-*-* arm*-*-* mips*-*-* } } } }
   h<(int A::*) &B::j>(); // { dg-error "" } 
   g<(void (A::*)()) 0>(); // { dg-error "" "" { target c++98 } }
   h<(int A::*) 0>(); // { dg-error "" "" { target c++98 } }