This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] testsuite: Check for pow at the end of words only


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(-)

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} } } */
-- 
1.8.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]