aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2006-09-21 17:13:33 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2006-09-21 17:13:33 +0000
commit72478f32e0a2f4d7aa23ba4983f8cb24f766d7b4 (patch)
treee8967cae3407109c604cf0e0ad47e81b2267524a /gcc
parent6c331f73fb06def451c8a60f2409681fe89939c6 (diff)
downloadgcc-72478f32e0a2f4d7aa23ba4983f8cb24f766d7b4.zip
gcc-72478f32e0a2f4d7aa23ba4983f8cb24f766d7b4.tar.gz
gcc-72478f32e0a2f4d7aa23ba4983f8cb24f766d7b4.tar.bz2
re PR debug/29132 (Mips exception handling broken.)
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. From-SVN: r117114
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e776333..bf755d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2006-09-20 Richard Sandiford <richard@codesourcery.com>
* config/mips/mips.c (CODE_FOR_mips_abs_ps): Delete.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index e82c81c..0b655b4 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;