diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-06-24 19:25:44 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-06-24 19:25:44 +0000 |
commit | 4de1ded224ff859de7801419bbce159354bc3426 (patch) | |
tree | 1c002c2b08a72b2df7b4b8c59434dcab4533a65f /gcc | |
parent | 367e5f9e436b1bd74bc132292c27086a96728384 (diff) | |
download | gcc-4de1ded224ff859de7801419bbce159354bc3426.zip gcc-4de1ded224ff859de7801419bbce159354bc3426.tar.gz gcc-4de1ded224ff859de7801419bbce159354bc3426.tar.bz2 |
[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 <iain@sandoe.co.uk>
* gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex
to recognise Darwin's register names.
From-SVN: r272626
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/spec-barr-1.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec0566c..c3f23d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2019-06-24 Iain Sandoe <iain@sandoe.co.uk> + * gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex + to recognise Darwin's register names. + +2019-06-24 Iain Sandoe <iain@sandoe.co.uk> + * gcc.dg/cpp/isysroot-1.c: Use <example.h> as the test header. * gcc.dg/cpp/usr/include/stdio.h: Rename... * gcc.dg/cpp/usr/include/example.h: ... to this. diff --git a/gcc/testsuite/gcc.target/powerpc/spec-barr-1.c b/gcc/testsuite/gcc.target/powerpc/spec-barr-1.c index a22bf58..d837515 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} } } */ |