From: Zack Weinberg Date: Wed, 7 Mar 2001 01:29:32 +0000 (+0000) Subject: 20000724-1.c: Don't use multiline strings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b44d68f7b41308b3ea5b66642352c6fc8946093;p=gcc.git 20000724-1.c: Don't use multiline strings. 2001-03-06 Zack Weinberg * gcc.dg/20000724-1.c: Don't use multiline strings. From-SVN: r40278 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d0a7835b769..2fb4ae904a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-03-06 Zack Weinberg + + * gcc.dg/20000724-1.c: Don't use multiline strings. + 2001-03-06 Zack Weinberg * objc/execute/string1.m, objc/execute/string2.m: Compare the diff --git a/gcc/testsuite/gcc.dg/20000724-1.c b/gcc/testsuite/gcc.dg/20000724-1.c index 17d2e7ee0d9..5027d6e9746 100644 --- a/gcc/testsuite/gcc.dg/20000724-1.c +++ b/gcc/testsuite/gcc.dg/20000724-1.c @@ -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) {