summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20000724-1.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 01:29:32 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 01:29:32 +0000
commit9d630a4a6d77daebd4a61fbccc74a7e17f506ecc (patch)
tree2f3273c6a6e24dfd21f9c03dcd116949742c1a01 /gcc/testsuite/gcc.dg/20000724-1.c
parent8b2811cc9b78d14e0bff061d8295a8860727c2b3 (diff)
downloadgcc-9d630a4a6d77daebd4a61fbccc74a7e17f506ecc.tar.gz
2001-03-06 Zack Weinberg <zackw@stanford.edu>
* gcc.dg/20000724-1.c: Don't use multiline strings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/20000724-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/20000724-1.c28
1 files changed, 18 insertions, 10 deletions
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)
{