https://gcc.gnu.org/g:6452fcd25769cbd0fcd28f83ebd96aa190004b4c

commit r17-1930-g6452fcd25769cbd0fcd28f83ebd96aa190004b4c
Author: H.J. Lu <[email protected]>
Date:   Sat Jun 27 13:34:20 2026 +0800

    pr125100-4.c: Adjust check-function-bodies for x32
    
            PR target/125100
            * gcc.target/i386/pr125100-4.c: Replace "movq  %rax, \(%rdi\)"
            with "movq  %rax, \(%[re]di\)" to support x32.
    
    Signed-off-by: H.J. Lu <[email protected]>

Diff:
---
 gcc/testsuite/gcc.target/i386/pr125100-4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr125100-4.c 
b/gcc/testsuite/gcc.target/i386/pr125100-4.c
index 38c2fe46fff0..896d82e53aab 100644
--- a/gcc/testsuite/gcc.target/i386/pr125100-4.c
+++ b/gcc/testsuite/gcc.target/i386/pr125100-4.c
@@ -8,7 +8,7 @@
 **.LFB[0-9]+:
 **     .cfi_startproc
 **     movabsq \$4758053007424749568, %rax
-**     movq    %rax, \(%rdi\)
+**     movq    %rax, \(%[re]di\)
 **     ret
 **     .cfi_endproc
 **...

Reply via email to