From aefd8ba9e5b4d9d7b5f996072f9a6ca7155a47de Mon Sep 17 00:00:00 2001 From: uros Date: Sun, 9 Jul 2017 21:01:42 +0000 Subject: Update gcc.dg/stack-layout-dynamic-1.c PR target/81313 * gcc.dg/stack-layout-dynamic-1.c (bar): Add 4 additional integer argumets to bypass x86_64 outgoing args optimization. (cherry picked from commit ac2f5a408fa8768a0936b256f5cd7e0fe9f3b963) --- gcc/testsuite/gcc.dg/stack-layout-dynamic-1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/gcc.dg/stack-layout-dynamic-1.c b/gcc/testsuite/gcc.dg/stack-layout-dynamic-1.c index 9f2d37daa8b..7e59f28031a 100644 --- a/gcc/testsuite/gcc.dg/stack-layout-dynamic-1.c +++ b/gcc/testsuite/gcc.dg/stack-layout-dynamic-1.c @@ -1,15 +1,15 @@ -/* Verify that run time aligned local variables are aloocated in the prologue +/* Verify that run time aligned local variables are allocated in the prologue in one pass together with normal local variables. */ /* { dg-do compile } */ /* { dg-options "-O0 -fomit-frame-pointer" } */ /* { dg-require-effective-target ptr32plus } */ -extern void bar (void *, void *, void *); +extern void bar (void *, void *, void *, void *, void *, void *, void *); void foo (void) { - int i; + int i, j, k, l, m; __attribute__ ((aligned(65536))) char runtime_aligned_1[512]; __attribute__ ((aligned(32768))) char runtime_aligned_2[1024]; - bar (&i, &runtime_aligned_1, &runtime_aligned_2); + bar (&i, &j, &k, &l, &m, &runtime_aligned_1, &runtime_aligned_2); } /* { dg-final { scan-assembler-not "cfi_def_cfa_register" } } */ -- cgit v1.2.1