The tree dump had bogus tailing numbers: interop.[0-9]+3, interop.[0-9]+2
This happened to work with x86-64 (-m32, -m64) but not with aarch64.
I committed inr15-9033-ge0886d8ad4c519 the obvious fix: remove the 3 and 2
after the '+'
Tobias
ci_not...@linaro.org wrote:
In gcc_check master-aarch64, after:
| commit gcc-15-8972-g7e286b56545
We track this bug report underhttps://linaro.atlassian.net/browse/GNU-1554.
Please let us know if you have a fix.
commit e0886d8ad4c51919c349d0b31f2bec3acbc79e14
Author: Tobias Burnus <tbur...@baylibre.com>
Date: Sun Mar 30 09:55:29 2025 +0200
gcc/testsuite/g++.dg/gomp/append-args-8.C: Fix scan-dump-tree
gcc/testsuite/ChangeLog:
* g++.dg/gomp/append-args-8.C: Remove bogus '3' after \.\[0-9\]+
pattern.
---
gcc/testsuite/g++.dg/gomp/append-args-8.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/gomp/append-args-8.C b/gcc/testsuite/g++.dg/gomp/append-args-8.C
index 7fbbfa88b88..786a2b3dc57 100644
--- a/gcc/testsuite/g++.dg/gomp/append-args-8.C
+++ b/gcc/testsuite/g++.dg/gomp/append-args-8.C
@@ -89,5 +89,5 @@ test (int *a, int *b)
/* { dg-final { scan-tree-dump-times "__builtin_GOMP_interop \\(-5, 0, 0B, 0B, 0B, 0, 0B, 3, interopobjs\.\[0-9\]+, 0, 0B\\);" 1 "gimple" } } */
-/* { dg-final { scan-tree-dump-times "repl3<int\\*, omp_interop_t> \\(a, interop\.\[0-9\]+3, interop\.\[0-9\]+2, interop\.\[0-9\]+, 1, 2, \"abc\"\\);" 1 "gimple" } } */
+/* { dg-final { scan-tree-dump-times "repl3<int\\*, omp_interop_t> \\(a, interop\.\[0-9\]+, interop\.\[0-9\]+, interop\.\[0-9\]+, 1, 2, \"abc\"\\);" 1 "gimple" } } */
/* { dg-final { scan-tree-dump-times "__builtin_GOMP_interop \\(-5, 3, interopobjs\.\[0-9\]+, tgt_tgtsync\.\[0-9\]+, pref_type\.\[0-9\]+, 0, 0B, 0, 0B, 0, 0B\\);" 1 "gimple" } } */