20000724-1.c: Don't use multiline strings.

2001-03-06  Zack Weinberg  <zackw@stanford.edu>

	* gcc.dg/20000724-1.c: Don't use multiline strings.

From-SVN: r40278
This commit is contained in:
Zack Weinberg 2001-03-07 01:29:32 +00:00 committed by Zack Weinberg
parent 07ed7ecf08
commit 8b44d68f7b
2 changed files with 22 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2001-03-06 Zack Weinberg <zackw@stanford.edu>
* gcc.dg/20000724-1.c: Don't use multiline strings.
2001-03-06 Zack Weinberg <zackw@stanford.edu>
* objc/execute/string1.m, objc/execute/string2.m: Compare the

View file

@ -30,16 +30,24 @@ void do_check(struct s *x)
abort();
}
asm ("
___checkme:
pushl %eax; pushl %ebx; pushl %ecx; pushl %edx; pushl %esi; pushl %edi; pushl $0; pushl $0
pushl $0; pushl $0; pushl $0; pushl $0; pushl $0; pushl $0; pushl $0; pushl $0
movl %ecx, %eax
call do_check
popl %eax; popl %eax; popl %eax; popl %eax; popl %eax; popl %eax; popl %eax; popl %eax
popl %eax; popl %eax; popl %edi; popl %esi; popl %edx; popl %ecx; popl %ebx; popl %eax
ret
");
#define NT "\n\t"
asm ("\n"
"___checkme:"
NT "pushl %eax; pushl %ebx; pushl %ecx; pushl %edx; pushl %esi; pushl %edi"
NT "pushl $0; pushl $0; pushl $0; pushl $0; pushl $0"
NT "pushl $0; pushl $0; pushl $0; pushl $0; pushl $0"
NT "movl %ecx, %eax"
NT "call do_check"
NT "popl %eax; popl %eax; popl %eax; popl %eax; popl %eax"
NT "popl %eax; popl %eax; popl %eax; popl %eax; popl %eax"
NT "popl %edi; popl %esi; popl %edx; popl %ecx; popl %ebx; popl %eax"
NT "ret"
);
extern inline void do_asm(struct s * x)
{