Index: gcc/gcc/testsuite/gcc.target/i386/20011009-1.c |
diff --git a/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c b/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c |
index 99173a10931f5fc8792950de09d5b611717ad1e2..e79a475a1e3714f88fc34fc4c3c60d6a86133cb2 100644 |
--- a/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c |
+++ b/gcc/gcc/testsuite/gcc.target/i386/20011009-1.c |
@@ -4,11 +4,17 @@ |
extern void abort (void); |
extern void exit (int); |
+#ifdef __sun__ |
+#define COMMENT "/" |
+#else |
+#define COMMENT "#" |
+#endif |
+ |
int main () |
{ |
int x; |
- asm ("movl $26, %0 # 26 |-> reg \n\t" |
+ asm ("movl $26, %0 " COMMENT " 26 |-> reg \n\t" |
"movl $28, %0" : "=r" (x)); |
if (x != 28) |
abort (); |