aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-06-08 21:25:51 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-06-08 19:25:51 +0000
commit9ea81b0caeada6bd7b5db2846dfd8b55677c5cac (patch)
tree828faada4c07969b276bee299df41b1c5a2aa722 /gcc
parent21ecdec5dbc85bab4d266ad40bcb60e0d5d28b11 (diff)
downloadgcc-9ea81b0caeada6bd7b5db2846dfd8b55677c5cac.zip
gcc-9ea81b0caeada6bd7b5db2846dfd8b55677c5cac.tar.gz
gcc-9ea81b0caeada6bd7b5db2846dfd8b55677c5cac.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c1
2 files changed, 6 insertions, 0 deletions
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 <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
* 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))