991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi does not error on it.

* gcc.dg/991209-1.c (stack_ptr): Use __asm, not asm, so that -ansi
	does not error on it.

From-SVN: r36826
This commit is contained in:
Jakub Jelinek 2000-10-10 17:37:59 +02:00 committed by Jakub Jelinek
parent e9fc4ea8d1
commit 8ccaefbd44
2 changed files with 6 additions and 1 deletions

View 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.

View File

@ -5,4 +5,4 @@ int foo ()
return 1;
}
register char *stack_ptr asm ("%esp");
register char *stack_ptr __asm ("%esp");