[committed] middle-end: make bic-bitmask-18.c test more precise [PR103479]

Message ID patch-15117-tamar@arm.com
State Committed
Commit 7d6c20c06ce4e5d595245af503b045c2032c02f7
Headers
Series [committed] middle-end: make bic-bitmask-18.c test more precise [PR103479] |

Commit Message

Tamar Christina Dec. 2, 2021, 12:56 p.m. UTC
  Hi All,

This updates the testcase bic-bitmask-18.c to seach for " = 0;" as an expression
so it doesn't match any other partial expressions.

Regtested on aarch64-none-linux-gnu,
x86_64-pc-linux-gnu (with and without -m32) and no regressions.

Committed under the obvious rule.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

	* gcc.dg/bic-bitmask-18.c: Update regexpr to expect = 0;.

--- inline copy of patch -- 
diff --git a/gcc/testsuite/gcc.dg/bic-bitmask-18.c b/gcc/testsuite/gcc.dg/bic-bitmask-18.c
index 9d11b3bf4a4f04f572d47d710499d97ea0b11936..70bab0c520321ba13c6dd7969d1b51708dc3c71f 100644


--
  

Patch

diff --git a/gcc/testsuite/gcc.dg/bic-bitmask-18.c b/gcc/testsuite/gcc.dg/bic-bitmask-18.c
index 9d11b3bf4a4f04f572d47d710499d97ea0b11936..70bab0c520321ba13c6dd7969d1b51708dc3c71f 100644
--- a/gcc/testsuite/gcc.dg/bic-bitmask-18.c
+++ b/gcc/testsuite/gcc.dg/bic-bitmask-18.c
@@ -19,6 +19,6 @@  void fun2(uint32_t *x, int n)
 
 #include "bic-bitmask.h"
 
-/* { dg-final { scan-tree-dump-times {= 0} 1 dce7 { target vect_int } } } */
+/* { dg-final { scan-tree-dump-times { = 0;} 1 dce7 { target vect_int } } } */
 /* { dg-final { scan-tree-dump-not {\s+bic\s+} dce7 { target { aarch64*-*-* } } } } */