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 5d13b7b..6525c54 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
 Mon Oct  9 23:32:06 MET DST 2000  Jan Hubicka  <jh@suse.cz>
index 20f481f..f9028c5 100644 (file)
@@ -5,4 +5,4 @@ int foo ()
   return 1;
 }
 
-register char *stack_ptr asm ("%esp");
+register char *stack_ptr __asm ("%esp");