diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2011-11-10 15:28:04 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-11-10 15:28:04 -0500 |
commit | c68b1bc7eb13d1db7fc7b61a3601cac9cb75bcbe (patch) | |
tree | 52fffe30d4f92cf23695b52077e0393f56988f48 /gcc/dwarf2out.c | |
parent | 033ba5bf9cbcdfb60cccbf61796b19b792de0ac9 (diff) | |
download | gcc-c68b1bc7eb13d1db7fc7b61a3601cac9cb75bcbe.zip gcc-c68b1bc7eb13d1db7fc7b61a3601cac9cb75bcbe.tar.gz gcc-c68b1bc7eb13d1db7fc7b61a3601cac9cb75bcbe.tar.bz2 |
re PR debug/50983 (incorrect DW_LNS_negate_stmt)
PR debug/50983
* dwarf2out.c (set_cur_line_info_table): Restore the last is_stmt
value in the current line table.
From-SVN: r181269
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 39be9a1..7b5930e 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -20371,6 +20371,10 @@ set_cur_line_info_table (section *sec) VEC_safe_push (dw_line_info_table_p, gc, separate_line_info, table); } + if (DWARF2_ASM_LINE_DEBUG_INFO) + table->is_stmt = (cur_line_info_table + ? cur_line_info_table->is_stmt + : DWARF_LINE_DEFAULT_IS_STMT_START); cur_line_info_table = table; } |