Successfully regrtested on aarch64-unknown-linux-gnu.
Smoketested on x86_64 with both -m32 and -m64.
Pushed to trunk as r17-6446-gaf380319f31e34.

gcc/testsuite/ChangeLog:
        * c-c++-common/analyzer/large-constants.c
        (test_nearly_all_ones_uint64_t): Don't require "uint64_t" as the
        type prefix in the result of __analyzer_describe.

Signed-off-by: David Malcolm <[email protected]>
---
 gcc/testsuite/c-c++-common/analyzer/large-constants.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/c-c++-common/analyzer/large-constants.c 
b/gcc/testsuite/c-c++-common/analyzer/large-constants.c
index 7757dcf5f6a..6e01ab88d44 100644
--- a/gcc/testsuite/c-c++-common/analyzer/large-constants.c
+++ b/gcc/testsuite/c-c++-common/analyzer/large-constants.c
@@ -33,5 +33,5 @@ void
 test_nearly_all_ones_uint64_t (void)
 {
   uint64_t v = 0xfffffffffffffffeULL;
-  __analyzer_describe (0, v); /* { dg-warning "svalue: 
'\\\(uint64_t\\\)18446744073709551614'" } */
+  __analyzer_describe (0, v); /* { dg-warning "svalue: 
'\\\(\[^\n\r\]+\\\)18446744073709551614'" } */
 }
-- 
2.56.1

Reply via email to