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
This commit is contained in:
Jan Hubicka 2009-06-08 21:25:51 +02:00 committed by Jan Hubicka
parent 21ecdec5db
commit 9ea81b0cae
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-06-08 Jan Hubicka <jh@suse.cz>
PR debug/40126
* dwarf2out.c (dwarf2out_abstract_function): Free decl_loc_table.
2009-06-08 Jan Hubicka <jh@suse.cz>
PR middle-end/39834

View File

@ -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))