diff options
author | YunQiang Su <syq@gcc.gnu.org> | 2024-01-04 01:12:03 +0800 |
---|---|---|
committer | YunQiang Su <syq@gcc.gnu.org> | 2024-01-04 09:55:10 +0800 |
commit | 345da368b0199fbbd5dbf673c38afa2717bf6f59 (patch) | |
tree | 3891db6b04c04eae3489826a3a833856f8974a50 /gcc | |
parent | 65d4b32dee2508f5bcdd999a132332cd46cf8a4d (diff) | |
download | gcc-345da368b0199fbbd5dbf673c38afa2717bf6f59.zip gcc-345da368b0199fbbd5dbf673c38afa2717bf6f59.tar.gz gcc-345da368b0199fbbd5dbf673c38afa2717bf6f59.tar.bz2 |
MIPS/testsuite: Include stdio.h in mipscop tests
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/mipscop-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/mipscop-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/mipscop-3.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/mipscop-4.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c index 8a40ba1..2ba0ee7 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 94df41d..6fffc8e 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 cb4bd4d..03e3011 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 263fc5c..7e000c1 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; |