[gcc r17-3506] testsuite, X86: Fix missing asm macro in ms-sysv do-test.

Iain D Sandoe via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:edac13a0fdf0b3d4adfcc549f58f128c8f117245

commit r17-3506-gedac13a0fdf0b3d4adfcc549f58f128c8f117245
Author: Iain Sandoe <[email protected]>
Date:   Fri Aug 21 12:20:02 2026 +0100

    testsuite, X86: Fix missing asm macro in ms-sysv do-test.
    
    The additions in r17-3405-gff1ab0ed4b5221 missed a function name
    macro which leads to all the ms-sysv tests regressing on every
    x86_64 darwin platform, fixed by wrapping the call in the usual
    macro.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/x86_64/abi/ms-sysv/do-test.S: Wrap call to
            do_test_unaligned in the ASMNAME macro.
    
    Signed-off-by: Iain Sandoe <[email protected]>

Diff:
---
 gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/do-test.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/do-test.S b/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/do-test.S
index c0268f974558..c6dfa7c29c56 100644
--- a/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/do-test.S
+++ b/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/do-test.S
@@ -113,7 +113,7 @@ FUNC_BEGIN(call_do_test_unaligned)
 	# Push the 5th argument.
 	pushq	%r10
 	subq	$32, %rsp
-	call	do_test_unaligned
+	call	ASMNAME(do_test_unaligned)
 	addq	$48, %rsp
 	ret
 FUNC_END(call_do_test_unaligned)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.