From: Iain Sandoe Date: Mon, 24 Jun 2019 19:25:44 +0000 (+0000) Subject: [Darwin, PPC, testsuite] Fix spec-barr-1.c for Darwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4de1ded224ff859de7801419bbce159354bc3426;p=gcc.git [Darwin, PPC, testsuite] Fix spec-barr-1.c for Darwin. We just needed to adjust the regex to accept Darwin's register names. 2019-06-24 Iain Sandoe * gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex to recognise Darwin's register names. From-SVN: r272626 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec0566c10b5..c3f23d9b1b9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-06-24 Iain Sandoe + + * gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex + to recognise Darwin's register names. + 2019-06-24 Iain Sandoe * gcc.dg/cpp/isysroot-1.c: Use as the test header. diff --git a/gcc/testsuite/gcc.target/powerpc/spec-barr-1.c b/gcc/testsuite/gcc.target/powerpc/spec-barr-1.c index a22bf581da7..d8375158094 100644 --- a/gcc/testsuite/gcc.target/powerpc/spec-barr-1.c +++ b/gcc/testsuite/gcc.target/powerpc/spec-barr-1.c @@ -6,4 +6,4 @@ void foo () __builtin_ppc_speculation_barrier (); } -/* { dg-final { scan-assembler "ori 31,31,0" } } */ +/* { dg-final { scan-assembler {ori\s+r?31,r?31,r?0} } } */