summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-13 20:33:11 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-13 20:33:11 +0000
commitb830fb7aa5a1e2e1fd141aea96e6cd25d829bbb8 (patch)
tree35140478155811c3089b38a36b26d6da883d100f /gcc/testsuite/gcc.target
parent1c1b50e10144261161350ad7573b206ece0135f6 (diff)
downloadgcc-b830fb7aa5a1e2e1fd141aea96e6cd25d829bbb8.tar.gz
* gcc.dg/torture/pr19683-1.c: Guard with #ifndef __mips16.
* gcc.target/mips/asm-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target')
-rw-r--r--gcc/testsuite/gcc.target/mips/asm-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/asm-1.c b/gcc/testsuite/gcc.target/mips/asm-1.c
index 1a64e8754fd..008290572d3 100644
--- a/gcc/testsuite/gcc.target/mips/asm-1.c
+++ b/gcc/testsuite/gcc.target/mips/asm-1.c
@@ -2,6 +2,7 @@
of the call. */
/* { dg-do assemble } */
/* { dg-options "-O" } */
+#ifndef __mips16
int foo (int n)
{
register int k asm ("$16") = n;
@@ -12,3 +13,4 @@ int foo (int n)
}
return k;
}
+#endif