From: Uros Bizjak Date: Sun, 19 Jan 2025 19:23:20 +0000 (+0100) Subject: i386/testsuite: Fix gcc.target/i386/pr118067*.c tests X-Git-Tag: basepoints/gcc-16~2520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7026436fb67854c7c83f0672ed0271c34d6e3d50;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.target/i386/pr118067-2.c b/gcc/testsuite/gcc.target/i386/pr118067-2.c index 831871db0b4..24f6e6f430d 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 7a7f072a5d8..ca9f5ddf50e 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)));