From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1363) id DAF103858D3C; Thu, 5 May 2022 19:42:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAF103858D3C MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Uros Bizjak To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-143] [PATCH] i386: Cleanup -m32 usage in the testuite. X-Act-Checkin: gcc X-Git-Author: Uros Bizjak X-Git-Refname: refs/heads/master X-Git-Oldrev: 705bcedf6eae2d7c68bd3df2c98dad4f06650fde X-Git-Newrev: b06a79b82366a53fffc113f3bb5f873dbc70e381 Message-Id: <20220505194252.DAF103858D3C@sourceware.org> Date: Thu, 5 May 2022 19:42:52 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2022 19:42:53 -0000 https://gcc.gnu.org/g:b06a79b82366a53fffc113f3bb5f873dbc70e381 commit r13-143-gb06a79b82366a53fffc113f3bb5f873dbc70e381 Author: Uros Bizjak Date: Thu May 5 21:42:12 2022 +0200 [PATCH] i386: Cleanup -m32 usage in the testuite. Use conditional compilation for ia32 target istead. 2022-05-05 Uroš Bizjak gcc/testsuite/ChangeLog: * gcc.target/i386/pr103611-2.c (dg-do): Compile for target ia32. (dg-options): Remove -m32. * gcc.target/i386/pr105032.c (dg-do): Compile for taget ia32. (dg-additional-options): Remove. * gcc.target/i386/pr104732.c (dg-options): Remove -m32. * gcc.target/i386/pr99753.c (dg-options): Ditto. Diff: --- gcc/testsuite/gcc.target/i386/pr103611-2.c | 5 +++-- gcc/testsuite/gcc.target/i386/pr104732.c | 2 +- gcc/testsuite/gcc.target/i386/pr105032.c | 3 +-- gcc/testsuite/gcc.target/i386/pr99753.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/pr103611-2.c b/gcc/testsuite/gcc.target/i386/pr103611-2.c index 1555e997ec8..d966a41f03e 100644 --- a/gcc/testsuite/gcc.target/i386/pr103611-2.c +++ b/gcc/testsuite/gcc.target/i386/pr103611-2.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ -/* { dg-options "-m32 -O2 -msse4" } */ +/* { dg-do compile { target ia32 } } */ +/* { dg-options "-O2 -msse4" } */ + typedef int __v4si __attribute__ ((__vector_size__ (16))); long long test1(__v4si v) { diff --git a/gcc/testsuite/gcc.target/i386/pr104732.c b/gcc/testsuite/gcc.target/i386/pr104732.c index c8954366c6d..baa52573c7a 100644 --- a/gcc/testsuite/gcc.target/i386/pr104732.c +++ b/gcc/testsuite/gcc.target/i386/pr104732.c @@ -1,5 +1,5 @@ /* { dg-do compile { target ia32 } } */ -/* { dg-options "-O2 -m32 -msse -march=pentiumpro" } */ +/* { dg-options "-O2 -msse -march=pentiumpro" } */ typedef long long v2di __attribute__((vector_size (16))); diff --git a/gcc/testsuite/gcc.target/i386/pr105032.c b/gcc/testsuite/gcc.target/i386/pr105032.c index 57b21d3cd7a..a45e7555f8f 100644 --- a/gcc/testsuite/gcc.target/i386/pr105032.c +++ b/gcc/testsuite/gcc.target/i386/pr105032.c @@ -1,6 +1,5 @@ -/* { dg-do compile } */ +/* { dg-do compile { target ia32 } } */ /* { dg-options "-w" } */ -/* { dg-additional-options "-m32" { target x86_64-*-* } } */ typedef unsigned int size_t; __extension__ typedef long int __off_t; diff --git a/gcc/testsuite/gcc.target/i386/pr99753.c b/gcc/testsuite/gcc.target/i386/pr99753.c index 1b000bd56b6..95ce5916392 100644 --- a/gcc/testsuite/gcc.target/i386/pr99753.c +++ b/gcc/testsuite/gcc.target/i386/pr99753.c @@ -1,5 +1,5 @@ /* PR target/99753 */ /* { dg-do compile } */ -/* { dg-options "-march=amd -m32" } */ +/* { dg-options "-march=amd" } */ /* { dg-error "bad value 'amd' for '-march=' switch" "" { target *-*-* } 0 } */