]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: i386: Fix gcc.target/i386/memset-strategy-1[03].c on Solaris/x86
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 2 Sep 2025 11:19:00 +0000 (13:19 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 2 Sep 2025 11:19:00 +0000 (13:19 +0200)
The new gcc.target/i386/memset-strategy-1[03].c tests FAIL on
Solaris/x86:

FAIL: gcc.target/i386/memset-strategy-10.c check-function-bodies foo
FAIL: gcc.target/i386/memset-strategy-13.c check-function-bodies foo

The issue is the same as several times previously: they need to be
compiled with -fasynchronous-unwind-tables -fdwarf2-cfi-asm, which this
patch does.

Tested on i386-pc-solaris2.11 (as and gas) and x86_64-pc-linux-gnu.

2025-09-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc/testsuite:
* gcc.target/i386/memset-strategy-10.c (dg-options): Add
-fasynchronous-unwind-tables -fdwarf2-cfi-asm.
* gcc.target/i386/memset-strategy-13.c: Likewise.

gcc/testsuite/gcc.target/i386/memset-strategy-10.c
gcc/testsuite/gcc.target/i386/memset-strategy-13.c

index d6f2f4ed7ff24b86c0a2de94f539c029d76f1983..b4a93a7ceecb99878087ea1ece59b6f317ce63fc 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-Os -march=x86-64 -mstringop-strategy=vector_loop" } */
+/* { dg-options "-Os -march=x86-64 -mstringop-strategy=vector_loop -fasynchronous-unwind-tables -fdwarf2-cfi-asm" } */
 /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc').  */
 /* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } } {^\t?\.} } } */
 
index cc2129f60eb458cb28cc9a406cf7e49130efda1f..be6761017934f50b44b61b659cb5ec43b13e71f8 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-Os -mno-sse -mstringop-strategy=unrolled_loop" } */
+/* { dg-options "-Os -mno-sse -mstringop-strategy=unrolled_loop -fasynchronous-unwind-tables -fdwarf2-cfi-asm" } */
 /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc').  */
 /* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } } {^\t?\.} } } */