diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-06 15:29:37 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-06 15:29:37 +0000 |
commit | c6586120c02f926744ae783db4ce6401e0279d9a (patch) | |
tree | c3135360ae4b38adaeeb7da6a53d15035ce4a458 /gcc/function.h | |
parent | 62e423241b25fe595c15c14cb3e5f6434a037f48 (diff) | |
download | gcc-c6586120c02f926744ae783db4ce6401e0279d9a.tar.gz |
gcc/
2008-08-06 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/37009
* cfgexpand.c (expand_stack_alignment): Check parm_stack_boundary
for incoming stack boundary.
* function.c (assign_parm_find_entry_rtl): Update
parm_stack_boundary.
* function.h (rtl_data): Add parm_stack_boundary.
* config/i386/i386.c (ix86_finalize_stack_realign_flags): Check
parm_stack_boundary for incoming stack boundary.
gcc/testsuite/
2008-08-06 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/37009
* gcc.dg/torture/stackalign/alloca-2.c: New.
* gcc.dg/torture/stackalign/alloca-3.c: Likewise.
* gcc.dg/torture/stackalign/alloca-4.c: Likewise.
* gcc.dg/torture/stackalign/vararg-3.c: Likewise.
* gcc.target/i386/incoming-1.c: Likewise.
* gcc.target/i386/incoming-2.c: Likewise.
* gcc.target/i386/incoming-3.c: Likewise.
* gcc.target/i386/incoming-4.c: Likewise.
* gcc.target/i386/incoming-5.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 1153fb0b4c4..eb85e3c37af 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -339,6 +339,9 @@ struct rtl_data GTY(()) to call other functions. */ unsigned int preferred_stack_boundary; + /* The minimum alignment of parameter stack. */ + unsigned int parm_stack_boundary; + /* The largest alignment of slot allocated on the stack. */ unsigned int max_used_stack_slot_alignment; |