diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2008-07-31 21:28:54 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-07-31 14:28:54 -0700 |
commit | d2d93c32dc020c143ca5ffc8b72969cbef530778 (patch) | |
tree | 5b5de8d55327239ef11486dfd02ce87e62a4f059 /gcc/cfgexpand.c | |
parent | c983efcec6d1d022c5ec6cd0f3ff4c0126a0e415 (diff) | |
download | gcc-d2d93c32dc020c143ca5ffc8b72969cbef530778.zip gcc-d2d93c32dc020c143ca5ffc8b72969cbef530778.tar.gz gcc-d2d93c32dc020c143ca5ffc8b72969cbef530778.tar.bz2 |
re PR debug/36977 (Incorrect debug info for stack variables with stack alignment)
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.
From-SVN: r138438
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 623ad85..c9faa49 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; |