Commit 4de1ded2 by Iain Sandoe Committed by Iain Sandoe

[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
parent 367e5f9e
2019-06-24 Iain Sandoe <iain@sandoe.co.uk> 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/isysroot-1.c: Use <example.h> as the test header.
* gcc.dg/cpp/usr/include/stdio.h: Rename... * gcc.dg/cpp/usr/include/stdio.h: Rename...
* gcc.dg/cpp/usr/include/example.h: ... to this. * gcc.dg/cpp/usr/include/example.h: ... to this.
......
...@@ -6,4 +6,4 @@ void foo () ...@@ -6,4 +6,4 @@ void foo ()
__builtin_ppc_speculation_barrier (); __builtin_ppc_speculation_barrier ();
} }
/* { dg-final { scan-assembler "ori 31,31,0" } } */ /* { dg-final { scan-assembler {ori\s+r?31,r?31,r?0} } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment