re PR target/81313 (Bad stack realignment code with -mno-accumulate-outgoing-args)
PR target/81313 * gcc.dg/stack-layout-dynamic-1.c (bar): Add 4 additional integer argumets to bypass x86_64 outgoing args optimization. From-SVN: r250086
This commit is contained in:
parent
ba71a2a62c
commit
5920ba1553
@ -1,4 +1,10 @@
|
||||
2017-06-09 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
2017-07-09 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/81313
|
||||
* gcc.dg/stack-layout-dynamic-1.c (bar): Add 4 additional
|
||||
integer argumets to bypass x86_64 outgoing args optimization.
|
||||
|
||||
2017-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
* gfortran.dg/eoshift_4.f90: New test.
|
||||
* gfortran.dg/eoshift_5.f90: New test.
|
||||
|
@ -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" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user