pr19683-1.c: Guard with #ifndef __mips16.

* gcc.dg/torture/pr19683-1.c: Guard with #ifndef __mips16.
	* gcc.target/mips/asm-1.c: Likewise.

From-SVN: r98110
This commit is contained in:
Richard Sandiford 2005-04-13 20:33:11 +00:00 committed by Richard Sandiford
parent 6bd1354069
commit 6c013920cd
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-04-13 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/torture/pr19683-1.c: Guard with #ifndef __mips16.
* gcc.target/mips/asm-1.c: Likewise.
2005-04-13 Dale Johannesen <dalej@apple.com>
* objc.dg/objc-fast-4.m: New.

View file

@ -6,6 +6,7 @@
extern void abort (void);
extern void exit (int);
#ifndef __mips16
#define REPEAT10(X, Y) \
X(Y##0); X(Y##1); X(Y##2); X(Y##3); X(Y##4); \
X(Y##5); X(Y##6); X(Y##7); X(Y##8); X(Y##9)
@ -40,3 +41,10 @@ main (void)
abort ();
exit (0);
}
#else
int
main (void)
{
exit (0);
}
#endif

View file

@ -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