aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2024-06-06 11:27:53 +0800
committerliuhongt <hongtao.liu@intel.com>2024-06-06 11:33:47 +0800
commitfcfce55c85f842ed843cbc4aabe744c6a004dead (patch)
tree7942448f7c5fea1c758f17920fe9520db5c8a4c2 /gcc
parent67be156f952241ad99af1eedc4da91bc2e201cd3 (diff)
downloadgcc-fcfce55c85f842ed843cbc4aabe744c6a004dead.zip
gcc-fcfce55c85f842ed843cbc4aabe744c6a004dead.tar.gz
gcc-fcfce55c85f842ed843cbc4aabe744c6a004dead.tar.bz2
Refine testcase for power10.
For power10, there're extra 3 REG_EQUIV notes with (fix:SI. to avoid the failure. Check (fix:SI is from the pattern not NOTE. gcc/testsuite/ChangeLog: PR target/115365 * gcc.dg/pr100927.c: Don't scan fix:SI from the note.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr100927.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr100927.c b/gcc/testsuite/gcc.dg/pr100927.c
index ea0e627..8a7d69c 100644
--- a/gcc/testsuite/gcc.dg/pr100927.c
+++ b/gcc/testsuite/gcc.dg/pr100927.c
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -ftrapping-math -fdump-tree-optimized -fdump-rtl-final" } */
/* { dg-final { scan-tree-dump-times {(?n)= \(int\)} 3 "optimized" } } */
-/* { dg-final { scan-rtl-dump-times {(?n)\(fix:SI} 3 "final" } } */
+/* { dg-final { scan-rtl-dump-times {(?n)^[ \t]*\(fix:SI} 3 "final" } } */
int
foo_ofr ()