From: David Edelsohn Date: Sat, 11 Jul 2020 23:42:56 +0000 (-0400) Subject: testsuite: adapt g++.dg/ipa/pr83667.C for AIX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee352e91d2e0ab6a1a533f33c6509b6689b03211;p=gcc.git 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. --- diff --git a/gcc/testsuite/g++.dg/ipa/pr83667.C b/gcc/testsuite/g++.dg/ipa/pr83667.C index 25522daf04b..a8a5a5adb3a 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" } }