diff mbox

testsuite: Check for pow at the end of words only

Message ID 2112a6ca93b732c59a68a20e1709aefdb44e7b5d.1423044399.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Feb. 4, 2015, 10:14 a.m. UTC
These two testcases stopped working on rs6000, since we now emit
".machine power4" and similar pseudo-ops.  This fixes it by testing
for "pow" at the end of words only.

Regression checking in progress on powerpc64-linux (where it failed
before); okay if it passes?


Segher


2015-02-04  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/testsuite/
	* gcc.dg/builtins-58.c: Check for pow at the end of words only.
	* gcc.dg/pr46728-6.c: Ditto.

---
 gcc/testsuite/gcc.dg/builtins-58.c | 2 +-
 gcc/testsuite/gcc.dg/pr46728-6.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jakub Jelinek Feb. 4, 2015, 10:22 a.m. UTC | #1
On Wed, Feb 04, 2015 at 02:14:53AM -0800, Segher Boessenkool wrote:
> These two testcases stopped working on rs6000, since we now emit
> ".machine power4" and similar pseudo-ops.  This fixes it by testing
> for "pow" at the end of words only.
> 
> Regression checking in progress on powerpc64-linux (where it failed
> before); okay if it passes?
> 
> 
> Segher
> 
> 
> 2015-02-04  Segher Boessenkool  <segher@kernel.crashing.org>
> 
> gcc/testsuite/
> 	* gcc.dg/builtins-58.c: Check for pow at the end of words only.
> 	* gcc.dg/pr46728-6.c: Ditto.

Ok, thanks.

	Jakub
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/builtins-58.c b/gcc/testsuite/gcc.dg/builtins-58.c
index 4c2f351..262f162 100644
--- a/gcc/testsuite/gcc.dg/builtins-58.c
+++ b/gcc/testsuite/gcc.dg/builtins-58.c
@@ -30,4 +30,4 @@  double test4 (double x)
 }
 #endif
 
-/* { dg-final { scan-assembler-not "pow" } } */
+/* { dg-final { scan-assembler-not {pow\M} } } */
diff --git a/gcc/testsuite/gcc.dg/pr46728-6.c b/gcc/testsuite/gcc.dg/pr46728-6.c
index bcdaf90..b566391 100644
--- a/gcc/testsuite/gcc.dg/pr46728-6.c
+++ b/gcc/testsuite/gcc.dg/pr46728-6.c
@@ -18,4 +18,4 @@  main (int argc, char *argv[])
 }
 
 
-/* { dg-final { scan-assembler-not "pow" } } */
+/* { dg-final { scan-assembler-not {pow\M} } } */