summaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-31 21:28:54 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-31 21:28:54 +0000
commit7b70fdf7d3d4326d575ff52932e853c86d40673a (patch)
tree5b5de8d55327239ef11486dfd02ce87e62a4f059 /gcc/cfgexpand.c
parent36ff3a4503e391032906f2cdb1a27ff07148893c (diff)
downloadgcc-7b70fdf7d3d4326d575ff52932e853c86d40673a.tar.gz
2008-07-31 H.J. Lu <hongjiu.lu@intel.com>
PR debug/36977 * cfgexpand.c (expand_stack_alignment): Set stack_realign_tried. * dwarf2out.c (based_loc_descr): Check crtl->stack_realign_tried for stack alignment. * function.h (rtl_data): Add stack_realign_tried. Update comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138438 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 623ad85afb4..c9faa49d4ab 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -2217,6 +2217,7 @@ expand_stack_alignment (void)
crtl->stack_realign_needed
= INCOMING_STACK_BOUNDARY < crtl->stack_alignment_estimated;
+ crtl->stack_realign_tried = crtl->stack_realign_needed;
crtl->stack_realign_processed = true;