public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Uros Bizjak <uros@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-143] [PATCH] i386: Cleanup -m32 usage in the testuite. Date: Thu, 5 May 2022 19:42:52 +0000 (GMT) [thread overview] Message-ID: <20220505194252.DAF103858D3C@sourceware.org> (raw) https://gcc.gnu.org/g:b06a79b82366a53fffc113f3bb5f873dbc70e381 commit r13-143-gb06a79b82366a53fffc113f3bb5f873dbc70e381 Author: Uros Bizjak <ubizjak@gmail.com> 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 <ubizjak@gmail.com> 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 } */
reply other threads:[~2022-05-05 19:42 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220505194252.DAF103858D3C@sourceware.org \ --to=uros@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).