From: Martin Liska Date: Wed, 14 Aug 2019 08:47:50 +0000 (+0200) Subject: Fix a test-case scan pattern. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=052f7399dd78d94d27fc1c3e1696cc7f93063610;p=gcc.git Fix a test-case scan pattern. 2019-08-14 Martin Liska * c-c++-common/asan/memcmp-1.c: There's a new function in the stack-trace on the top. So shift expected output in stack trace. From-SVN: r274428 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 52e25330087..ea7039bf2b2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-08-14 Martin Liska + + * c-c++-common/asan/memcmp-1.c: There's a new function in the + stack-trace on the top. So shift expected output in stack + trace. + 2019-08-14 Richard Sandiford * gcc.target/aarch64/sve/vcond_17.c: New test. diff --git a/gcc/testsuite/c-c++-common/asan/memcmp-1.c b/gcc/testsuite/c-c++-common/asan/memcmp-1.c index 5915988be5b..0a513c05ee1 100644 --- a/gcc/testsuite/c-c++-common/asan/memcmp-1.c +++ b/gcc/testsuite/c-c++-common/asan/memcmp-1.c @@ -16,5 +16,5 @@ main () } /* { dg-output "ERROR: AddressSanitizer: stack-buffer-overflow.*(\n|\r\n|\r)" } */ -/* { dg-output " #0 0x\[0-9a-f\]+ +(in _*(interceptor_|wrap_|)memcmp|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */ -/* { dg-output " #1 0x\[0-9a-f\]+ +(in _*main|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */ +/* { dg-output " #1 0x\[0-9a-f\]+ +(in _*(interceptor_|wrap_|)memcmp|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */ +/* { dg-output " #2 0x\[0-9a-f\]+ +(in _*main|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */