From: Jan Hubicka Date: Mon, 8 Jun 2009 19:25:51 +0000 (+0200) Subject: re PR debug/40126 (-O2 -g results in: can't resolve `.LFE95' {*UND* section} - `... X-Git-Tag: releases/gcc-4.5.0~5306 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ea81b0caeada6bd7b5db2846dfd8b55677c5cac;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 233028faa068..940e7573f4bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 617be8008e9e..dc82799a9bc0 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))