[committed] MIPS/testsuite: Include stdio.h in mipscop tests
Checks
Commit Message
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(+)
@@ -1,5 +1,6 @@
/* { dg-do compile { target mips*-*-* } } */
+#include <stdio.h>
register unsigned int cp0count asm ("$c0r1");
int __attribute__ ((nomips16))
@@ -1,5 +1,6 @@
/* { dg-do compile { target mips*-*-* } } */
+#include <stdio.h>
register unsigned int c3r1 asm ("$c3r1");
extern unsigned int b, 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;
@@ -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;