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.
This commit is contained in:
Rainer Orth
2025-09-02 13:19:00 +02:00
parent 3f868fb150
commit cfc9a42e8b
2 changed files with 2 additions and 2 deletions

View 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?\.} } } */

View 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?\.} } } */