https://gcc.gnu.org/g:3ce0b19b87e9146c47343aab5088d144e739ce57

commit r16-4647-g3ce0b19b87e9146c47343aab5088d144e739ce57
Author: H.J. Lu <[email protected]>
Date:   Mon Oct 27 18:11:25 2025 +0800

    x86: Compile builtin-copysign-8b.c with -mtune=generic
    
    Compile builtin-copysign-8b.c with -mtune=generic so that it passes with
    
    $ make check-gcc RUNTESTFLAGS="i386.exp=builtin-copysign-8b.c 
--target_board='unix{-m64\ -march=cascadelake}'"
    
            PR target/122323
            * gcc.target/i386/builtin-copysign-8b.c: Add -mtune=generic.
    
    Signed-off-by: H.J. Lu <[email protected]>

Diff:
---
 gcc/testsuite/gcc.target/i386/builtin-copysign-8b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/builtin-copysign-8b.c 
b/gcc/testsuite/gcc.target/i386/builtin-copysign-8b.c
index 8f0cb27a2464..dc9e46121de0 100644
--- a/gcc/testsuite/gcc.target/i386/builtin-copysign-8b.c
+++ b/gcc/testsuite/gcc.target/i386/builtin-copysign-8b.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx512f -mavx" } */
+/* { dg-options "-O2 -mno-avx512f -mavx -mtune=generic" } */
 /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc').  */
 /* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } } 
{^\t?\.} } } */

Reply via email to