From 0a360f2115b6df14ce6f547bb9d636f3e16da08c Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Fri, 26 Jul 2019 11:51:56 +0300 Subject: [PATCH] testsuite: Fix pr64820.c for new ASan output format * gcc/testsuite/c-c++-common/asan/pr64820.c: Fix lines to scan Change-Id: I891b5aaad63d5f9c6894974b994c32decc92e786 Signed-off-by: Slava Barinov --- gcc/testsuite/c-c++-common/asan/pr64820.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/c-c++-common/asan/pr64820.c b/gcc/testsuite/c-c++-common/asan/pr64820.c index 40cc573..1985123 100644 --- a/gcc/testsuite/c-c++-common/asan/pr64820.c +++ b/gcc/testsuite/c-c++-common/asan/pr64820.c @@ -26,6 +26,6 @@ int main(int argc, char **argv) { /* { dg-output "AddressSanitizer: stack-use-after-return on address 0x\[0-9a-f\]+\[^\n\r]*(\n|\r\n|\r)" } */ /* { dg-output "\[^\n\r]*WRITE of size 1 at .* thread T0.*" } */ -/* { dg-output " #0.*(Func2)?.*pr64820.(c:21)?.*" } */ +/* { dg-output " #0.*(Func2)?.*pr64820.(c:20)?.*" } */ /* { dg-output "is located in stack of thread T0 at offset.*" } */ -/* { dg-output "\'local\'\[^\n\r]* \\(line 14\\) <== Memory access at offset 32 is inside this variable" } */ +/* { dg-output "\'local:14\'\[^\n\r]* <== Memory access at offset 32 is inside this variable" } */ -- 2.7.4