diff options
author | Martin Liska <mliska@suse.cz> | 2019-08-14 10:47:50 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-08-14 08:47:50 +0000 |
commit | 052f7399dd78d94d27fc1c3e1696cc7f93063610 (patch) | |
tree | 272b55015e9fdac835f4c91e750123e2cdeae16b | |
parent | 47f0255fbb553fe0763dda742c2719ce513466b6 (diff) | |
download | gcc-052f7399dd78d94d27fc1c3e1696cc7f93063610.zip gcc-052f7399dd78d94d27fc1c3e1696cc7f93063610.tar.gz gcc-052f7399dd78d94d27fc1c3e1696cc7f93063610.tar.bz2 |
Fix a test-case scan pattern.
2019-08-14 Martin Liska <mliska@suse.cz>
* 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
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/asan/memcmp-1.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 52e2533..ea7039b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-08-14 Martin Liska <mliska@suse.cz> + + * 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 <richard.sandiford@arm.com> * 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 5915988..0a513c0 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)" } */ |