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

commit r17-5390-gef24b6ea01070061fcecc24033dcc759a03d99e5
Author: Jakub Jelinek <[email protected]>
Date:   Tue Oct 20 10:08:16 2026 +0200

    testsuite: Fix up mem-notrap-load-builtin.C test
    
    The r17-5308 change in addition to adding { target { ! hppa*64*-*-* } }
    surprisingly swapped the scan-rtl-dump arguments, put the
    dump name first and regexp second instead of the correct order.
    So, this is now UNRESOLVED, because obviously a dump name with the content
    of the regexp doesn't exist.
    
    2026-10-20  Jakub Jelinek  <[email protected]>
    
            * g++.dg/opt/mem-notrap-load-builtin.C: Restore previous order
            of scan-rtl-dump arguments.

Diff:
---
 gcc/testsuite/g++.dg/opt/mem-notrap-load-builtin.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/opt/mem-notrap-load-builtin.C 
b/gcc/testsuite/g++.dg/opt/mem-notrap-load-builtin.C
index c8b134277a16..11315e69bd01 100644
--- a/gcc/testsuite/g++.dg/opt/mem-notrap-load-builtin.C
+++ b/gcc/testsuite/g++.dg/opt/mem-notrap-load-builtin.C
@@ -18,5 +18,5 @@ blocks::compare () const
   return __builtin_memcmp (first, second, sizeof (first));
 }
 
-// { dg-final { scan-rtl-dump "expand" 
{\(mem(?:/[a-z])*/c(?:/[a-z])*:[^\n\r]*\[ this \]} { target { ! hppa*64*-*-* } 
} } }
+// { dg-final { scan-rtl-dump {\(mem(?:/[a-z])*/c(?:/[a-z])*:[^\n\r]*\[ this 
\]} "expand" { target { ! hppa*64*-*-* } } } }
 // { dg-final { scan-assembler-not {\mmemcmp\M} } }

Reply via email to