https://gcc.gnu.org/g:fcfce55c85f842ed843cbc4aabe744c6a004dead

commit r15-1050-gfcfce55c85f842ed843cbc4aabe744c6a004dead
Author: liuhongt <hongtao....@intel.com>
Date:   Thu Jun 6 11:27:53 2024 +0800

    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.

Diff:
---
 gcc/testsuite/gcc.dg/pr100927.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr100927.c b/gcc/testsuite/gcc.dg/pr100927.c
index ea0e627befa..8a7d69c3831 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 ()

Reply via email to