From: YunQiang Su <syq@gcc.gnu.org>
To: gcc-patches@gcc.gnu.org
Cc: YunQiang Su <syq@gcc.gnu.org>
Subject: [committed] MIPS/testsuite: Include stdio.h in mipscop tests
Date: Thu, 4 Jan 2024 09:58:19 +0800 [thread overview]
Message-ID: <20240104015819.353901-4-syq@gcc.gnu.org> (raw)
In-Reply-To: <20240104015819.353901-1-syq@gcc.gnu.org>
gcc/testsuite
* gcc.c-torture/compile/mipscop-1.c: Include stdio.h.
* gcc.c-torture/compile/mipscop-2.c: Ditto.
* gcc.c-torture/compile/mipscop-3.c: Ditto.
* gcc.c-torture/compile/mipscop-4.c: Ditto.
---
gcc/testsuite/gcc.c-torture/compile/mipscop-1.c | 1 +
gcc/testsuite/gcc.c-torture/compile/mipscop-2.c | 1 +
gcc/testsuite/gcc.c-torture/compile/mipscop-3.c | 1 +
gcc/testsuite/gcc.c-torture/compile/mipscop-4.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c
index 8a40ba1c6b7..2ba0ee79b8b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target mips*-*-* } } */
+#include <stdio.h>
register unsigned int cp0count asm ("$c0r1");
int __attribute__ ((nomips16))
diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c
index 94df41d65f9..6fffc8ec098 100644
--- a/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target mips*-*-* } } */
+#include <stdio.h>
register unsigned int c3r1 asm ("$c3r1");
extern unsigned int b, c;
diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c
index cb4bd4d3efb..03e30117bc1 100644
--- a/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target mips*-*-* } } */
+#include <stdio.h>
register unsigned int c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
extern unsigned int b, c;
diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c
index 263fc5cacc1..7e000c1c68a 100644
--- a/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c
+++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target mips*-*-* } } */
+#include <stdio.h>
register unsigned long c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
extern unsigned long b, c;
--
2.39.2
prev parent reply other threads:[~2024-01-04 1:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 1:58 [committed] MIPS: define_attr perf_ratio in mips.md YunQiang Su
2024-01-04 1:58 ` [committed] MIPS: Implement TARGET_INSN_COSTS YunQiang Su
2024-01-04 1:58 ` [committed] MIPS: Add pattern insqisi_extended and inshisi_extended YunQiang Su
2024-01-04 1:58 ` YunQiang Su [this message]
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=20240104015819.353901-4-syq@gcc.gnu.org \
--to=syq@gcc.gnu.org \
--cc=gcc-patches@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: link
Be 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).