991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi does not error on it.
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 Oct 2000 15:37:59 +0000 (17:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 Oct 2000 15:37:59 +0000 (17:37 +0200)
* gcc.dg/991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi
does not error on it.

From-SVN: r36826

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/991209-1.c

index 5d13b7b5149409bc59fa116eea7bb8074414bef3..6525c54fcd7455bb49fd03024f657af7bf7bcca8 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi
+       does not error on it.
+
 2000-10-10  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.dg/20001009-1.c: New test.
index 20f481f56345a01770b6739eccbe1cb7912169aa..f9028c5825fee1a28b7cd5697536cdef20cd7869 100644 (file)
@@ -5,4 +5,4 @@ int foo ()
   return 1;
 }
 
-register char *stack_ptr asm ("%esp");
+register char *stack_ptr __asm ("%esp");