testsuite: adapt g++.dg/ipa/pr83667.C for AIX
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 11 Jul 2020 23:42:56 +0000 (19:42 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 14 Jul 2020 14:26:07 +0000 (10:26 -0400)
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  <dje.gcc@gmail.com>

* g++.dg/ipa/pr83667.C: Allow 0 or more dots between THUNK and 0.

gcc/testsuite/g++.dg/ipa/pr83667.C

index 25522da..a8a5a5a 100644 (file)
@@ -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" } }