Commit 6c013920 by Richard Sandiford Committed by Richard Sandiford

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
parent 6bd13540
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> 2005-04-13 Dale Johannesen <dalej@apple.com>
* objc.dg/objc-fast-4.m: New. * objc.dg/objc-fast-4.m: New.
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
extern void abort (void); extern void abort (void);
extern void exit (int); extern void exit (int);
#ifndef __mips16
#define REPEAT10(X, Y) \ #define REPEAT10(X, Y) \
X(Y##0); X(Y##1); X(Y##2); X(Y##3); X(Y##4); \ 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) X(Y##5); X(Y##6); X(Y##7); X(Y##8); X(Y##9)
...@@ -40,3 +41,10 @@ main (void) ...@@ -40,3 +41,10 @@ main (void)
abort (); abort ();
exit (0); exit (0);
} }
#else
int
main (void)
{
exit (0);
}
#endif
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
of the call. */ of the call. */
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-options "-O" } */ /* { dg-options "-O" } */
#ifndef __mips16
int foo (int n) int foo (int n)
{ {
register int k asm ("$16") = n; register int k asm ("$16") = n;
...@@ -12,3 +13,4 @@ int foo (int n) ...@@ -12,3 +13,4 @@ int foo (int n)
} }
return k; return k;
} }
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment