aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/990424-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/990424-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/990424-1.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/gcc.dg/990424-1.c b/gcc/testsuite/gcc.dg/990424-1.c
deleted file mode 100644
index 589e0468e76..00000000000
--- a/gcc/testsuite/gcc.dg/990424-1.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Test that stack alignment is preserved with pending_stack_adjust
- with stdcall functions. */
-
-/* { dg-do run { target i?86-*-* } } */
-/* { dg-options -mpreferred-stack-boundary=4 } */
-
-void __attribute__((stdcall)) foo(int a, int b, int c);
-
-int
-main ()
-{
- foo(1, 2, 3);
- foo(1, 2, 3);
- exit (0);
-}
-
-void __attribute__((stdcall))
-foo(int a, int b, int c)
-{
- static int last_align = -1;
- int dummy, align = (int)&dummy & 15;
- if (last_align < 0)
- last_align = align;
- else if (align != last_align)
- abort ();
-}