https://gcc.gnu.org/g:7026436fb67854c7c83f0672ed0271c34d6e3d50

commit r15-7033-g7026436fb67854c7c83f0672ed0271c34d6e3d50
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Sun Jan 19 20:23:20 2025 +0100

    i386/testsuite: Fix gcc.target/i386/pr118067*.c tests
    
    These tests use int128 type, so require target int128 instead of ! ia32.
    Also, use -mtune= instead of deprecated -mcpu= to avoid compiler warning.
    
            PR rtl-optimization/118067
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/i386/pr118067.c (dg-compile): Use target int128.
            * gcc.target/i386/pr118067-2.c (dg-compile): Ditto.
            (dg-options): Use -mtune= instead of deprecated -mcpu= option.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr118067-2.c | 4 ++--
 gcc/testsuite/gcc.target/i386/pr118067.c   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr118067-2.c 
b/gcc/testsuite/gcc.target/i386/pr118067-2.c
index 831871db0b43..24f6e6f430dd 100644
--- a/gcc/testsuite/gcc.target/i386/pr118067-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr118067-2.c
@@ -1,5 +1,5 @@
-/* { dg-do compile { target { ! ia32 } } } */
-/* { dg-options "-O -fno-split-wide-types -mavx512f -mcpu=k8" } */
+/* { dg-do compile { target int128 } } */
+/* { dg-options "-O -fno-split-wide-types -mavx512f -mtune=k8" } */
 
 typedef unsigned short U __attribute__((__vector_size__(64)));
 typedef int V __attribute__((__vector_size__(64)));
diff --git a/gcc/testsuite/gcc.target/i386/pr118067.c 
b/gcc/testsuite/gcc.target/i386/pr118067.c
index 7a7f072a5d8a..ca9f5ddf50e8 100644
--- a/gcc/testsuite/gcc.target/i386/pr118067.c
+++ b/gcc/testsuite/gcc.target/i386/pr118067.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { ! ia32 } } } */
+/* { dg-do compile { target int128 } } */
 /* { dg-options "-O -fno-split-wide-types -mavx512f" } */
 
 typedef unsigned short U __attribute__((__vector_size__(64)));

Reply via email to