public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: H.J. Lu <hjl@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4476] 387-12.c: Require ia32 target instead of -m32 Date: Mon, 18 Oct 2021 12:45:09 +0000 (GMT) [thread overview] Message-ID: <20211018124510.001F73858426@sourceware.org> (raw) https://gcc.gnu.org/g:80d360fa72a6e547882dc2eca8e0e8c9723bcbf1 commit r12-4476-g80d360fa72a6e547882dc2eca8e0e8c9723bcbf1 Author: H.J. Lu <hjl.tools@gmail.com> Date: Mon Oct 18 05:39:53 2021 -0700 387-12.c: Require ia32 target instead of -m32 On x86-64, $ make check RUNTESTFLAGS="--target_board='unix{-m32,}'" can be used to test both 64-bit and 32-bit targets. Require ia32 target instead of explicit -m32 for 32-bit only test. * gcc.target/i386/387-12.c (dg-do compile): Require ia32. (dg-options): Remove -m32. Diff: --- gcc/testsuite/gcc.target/i386/387-12.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/387-12.c b/gcc/testsuite/gcc.target/i386/387-12.c index 7fe50a21981..ba86536c67a 100644 --- a/gcc/testsuite/gcc.target/i386/387-12.c +++ b/gcc/testsuite/gcc.target/i386/387-12.c @@ -1,6 +1,6 @@ /* PR target/26915 */ -/* { dg-do compile } */ -/* { dg-options "-O -m32 -mfpmath=387 -mfancy-math-387" } */ +/* { dg-do compile { target ia32 } } */ +/* { dg-options "-O -mfpmath=387 -mfancy-math-387" } */ double testm0(void) {
reply other threads:[~2021-10-18 12:45 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=20211018124510.001F73858426@sourceware.org \ --to=hjl@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).