From 644f7dbd248c8cedd9743abdfca84d5b32ac17c6 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 11 Jul 2020 19:42:56 -0400 Subject: [PATCH] testsuite: adapt g++.dg/ipa/pr83667.C for AIX The current testsuite regex looks for THUNK0. AIX generates THUNK..0. This patch expands the regex to allow 0 or more dots between THUNK and the 0. gcc/testsuite/ChangeLog 2020-07-14 David Edelsohn * g++.dg/ipa/pr83667.C: Allow 0 or more dots between THUNK and 0. --- gcc/testsuite/g++.dg/ipa/pr83667.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/ipa/pr83667.C b/gcc/testsuite/g++.dg/ipa/pr83667.C index 25522daf04be..a8a5a5adb3ad 100644 --- a/gcc/testsuite/g++.dg/ipa/pr83667.C +++ b/gcc/testsuite/g++.dg/ipa/pr83667.C @@ -22,4 +22,4 @@ struct c : a, b c c; -// { dg-final { scan-ipa-dump "summary for void c::\[^\\n\]*THUNK0" "inline" } } +// { dg-final { scan-ipa-dump "summary for void c::\[^\\n\]*THUNK\\.*0" "inline" } } -- 2.47.2