From: Tamar Christina Date: Thu, 2 Dec 2021 13:30:08 +0000 (+0000) Subject: testsuite: make bic-bitmask-18.c test more precise [PR103479] X-Git-Tag: basepoints/gcc-13~2600 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6c20c06ce4e5d595245af503b045c2032c02f7;p=thirdparty%2Fgcc.git testsuite: make bic-bitmask-18.c test more precise [PR103479] This updates the testcase bic-bitmask-18.c to seach for " = 0;" as an expression so it doesn't match any other partial expressions. gcc/testsuite/ChangeLog: PR testsuite/103479 * gcc.dg/bic-bitmask-18.c: Update regexpr to expect = 0;. --- diff --git a/gcc/testsuite/gcc.dg/bic-bitmask-18.c b/gcc/testsuite/gcc.dg/bic-bitmask-18.c index 9d11b3bf4a4f..70bab0c52032 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*-*-* } } } } */