From 9ea81b0caeada6bd7b5db2846dfd8b55677c5cac Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 8 Jun 2009 21:25:51 +0200 Subject: re PR debug/40126 (-O2 -g results in: can't resolve `.LFE95' {*UND* section} - `.Ltext0' {.text section}) PR debug/40126 * dwarf2out.c (dwarf2out_abstract_function): Free decl_loc_table. From-SVN: r148293 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 1 + 2 files changed, 6 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 233028f..940e757 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2009-06-08 Jan Hubicka + PR debug/40126 + * dwarf2out.c (dwarf2out_abstract_function): Free decl_loc_table. + +2009-06-08 Jan Hubicka + PR middle-end/39834 * cgraphunit.c (save_inline_function_body): Do not copy transform hooks for saved inline bodies. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 617be80..dc82799 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13792,6 +13792,7 @@ dwarf2out_abstract_function (tree decl) /* Make sure we have the actual abstract inline, not a clone. */ decl = DECL_ORIGIN (decl); + htab_empty (decl_loc_table); old_die = lookup_decl_die (decl); if (old_die && get_AT (old_die, DW_AT_inline)) -- cgit v1.1