summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-21 17:13:33 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-21 17:13:33 +0000
commit3036ecbe84d7b22a11133e13f456ffbee1dfab0f (patch)
treee8967cae3407109c604cf0e0ad47e81b2267524a /gcc/dwarf2out.c
parent50a880df20d31e38b13dbbfa7896b1f928f5a757 (diff)
downloadgcc-3036ecbe84d7b22a11133e13f456ffbee1dfab0f.tar.gz
2006-09-21 Roger Sayle <roger@eyesopen.com>
PR debug/29132 * dwarf2out.c (dwarf2out_begin_prologue): Initialise the current label, dw_fde_current_label, to be the start of the function, i.e. the same value as dw_fde_begin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index e82c81cc0a0..0b655b44d51 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -2572,7 +2572,7 @@ dwarf2out_begin_prologue (unsigned int line ATTRIBUTE_UNUSED,
fde = &fde_table[fde_table_in_use++];
fde->decl = current_function_decl;
fde->dw_fde_begin = dup_label;
- fde->dw_fde_current_label = NULL;
+ fde->dw_fde_current_label = dup_label;
fde->dw_fde_hot_section_label = NULL;
fde->dw_fde_hot_section_end_label = NULL;
fde->dw_fde_unlikely_section_label = NULL;