aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-09-02 13:19:00 +0200
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-09-02 13:19:00 +0200
commitcfc9a42e8b533cad39ea9e1c4d5a06d4ba82be48 (patch)
treea8aed344032a4e4ff34cdc084a0bf174d7e341bc /gcc
parent3f868fb150957e0510d37d5f39effbddc2f8a4f1 (diff)
downloadgcc-cfc9a42e8b533cad39ea9e1c4d5a06d4ba82be48.zip
gcc-cfc9a42e8b533cad39ea9e1c4d5a06d4ba82be48.tar.gz
gcc-cfc9a42e8b533cad39ea9e1c4d5a06d4ba82be48.tar.bz2
testsuite: i386: Fix gcc.target/i386/memset-strategy-1[03].c on Solaris/x86
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/i386/memset-strategy-10.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/memset-strategy-13.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/memset-strategy-10.c b/gcc/testsuite/gcc.target/i386/memset-strategy-10.c
index d6f2f4e..b4a93a7 100644
--- a/gcc/testsuite/gcc.target/i386/memset-strategy-10.c
+++ b/gcc/testsuite/gcc.target/i386/memset-strategy-10.c
@@ -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?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/memset-strategy-13.c b/gcc/testsuite/gcc.target/i386/memset-strategy-13.c
index cc2129f..be67610 100644
--- a/gcc/testsuite/gcc.target/i386/memset-strategy-13.c
+++ b/gcc/testsuite/gcc.target/i386/memset-strategy-13.c
@@ -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?\.} } } */